mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 14:17:38 +08:00
🐛 fix ε accuracy
This commit is contained in:
parent
b45d85a8c7
commit
04d7c82783
@ -194,7 +194,7 @@ class Vector3:
|
|||||||
else:
|
else:
|
||||||
raise TypeError(f"unsupported operand type(s) for *: 'Vector3' and '{type(other)}'")
|
raise TypeError(f"unsupported operand type(s) for *: 'Vector3' and '{type(other)}'")
|
||||||
|
|
||||||
def __rmul__(self, other: float | int) -> 'Vector3':
|
def __rmul__(self, other: 'RealNumber') -> 'Vector3':
|
||||||
return self.__mul__(other)
|
return self.__mul__(other)
|
||||||
|
|
||||||
def __matmul__(self, other: 'Vector3') -> float:
|
def __matmul__(self, other: 'Vector3') -> float:
|
||||||
|
Loading…
Reference in New Issue
Block a user