This commit is contained in:
blueloveTH 2024-01-17 04:48:09 +08:00
parent 6e9de8e207
commit 7d92a1f183
3 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ class mat3x3(_StructLike['mat3x3']):
@overload @overload
def __matmul__(self, other: vec3) -> vec3: ... def __matmul__(self, other: vec3) -> vec3: ...
def __imatmul__(self, other: mat3x3) -> None: ... def __imatmul__(self, other: mat3x3): ...
def invert_(self) -> None: ... def invert_(self) -> None: ...
@staticmethod @staticmethod

View File

@ -113,7 +113,7 @@ class mat3x3(_StructLike['mat3x3']):
@overload @overload
def __matmul__(self, other: vec3) -> vec3: ... def __matmul__(self, other: vec3) -> vec3: ...
def __imatmul__(self, other: mat3x3) -> None: ... def __imatmul__(self, other: mat3x3): ...
def invert_(self) -> None: ... def invert_(self) -> None: ...
@staticmethod @staticmethod

View File

@ -390,7 +390,7 @@ static Vec2 SmoothDamp(Vec2 current, Vec2 target, PyVec2& currentVelocity, float
Mat3x3 out; Mat3x3 out;
self.matmul(other, out); self.matmul(other, out);
self = out; self = out;
return vm->None; return args[0];
}); });
vm->bind_method<0>(type, "determinant", [](VM* vm, ArgsView args){ vm->bind_method<0>(type, "determinant", [](VM* vm, ArgsView args){