mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
6e9de8e207
commit
7d92a1f183
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user