|
|
@@ -9,6 +9,7 @@ class vec2(_StructLike['vec2']):
|
|
|
def __add__(self, other: vec2) -> vec2: ...
|
|
|
def __sub__(self, other: vec2) -> vec2: ...
|
|
|
def __mul__(self, other: float) -> vec2: ...
|
|
|
+ def __rmul__(self, other: float) -> vec2: ...
|
|
|
def __truediv__(self, other: float) -> vec2: ...
|
|
|
def dot(self, other: vec2) -> float: ...
|
|
|
def cross(self, other: vec2) -> float: ...
|
|
|
@@ -27,6 +28,7 @@ class vec3(_StructLike['vec3']):
|
|
|
def __add__(self, other: vec3) -> vec3: ...
|
|
|
def __sub__(self, other: vec3) -> vec3: ...
|
|
|
def __mul__(self, other: float) -> vec3: ...
|
|
|
+ def __rmul__(self, other: float) -> vec3: ...
|
|
|
def __truediv__(self, other: float) -> vec3: ...
|
|
|
def dot(self, other: vec3) -> float: ...
|
|
|
def cross(self, other: vec3) -> float: ...
|
|
|
@@ -44,6 +46,7 @@ class vec4(_StructLike['vec4']):
|
|
|
def __add__(self, other: vec4) -> vec4: ...
|
|
|
def __sub__(self, other: vec4) -> vec4: ...
|
|
|
def __mul__(self, other: float) -> vec4: ...
|
|
|
+ def __rmul__(self, other: float) -> vec4: ...
|
|
|
def __truediv__(self, other: float) -> vec4: ...
|
|
|
def dot(self, other: vec4) -> float: ...
|
|
|
def length(self) -> float: ...
|
|
|
@@ -80,6 +83,7 @@ class mat3x3(_StructLike['mat3x3']):
|
|
|
def __add__(self, other: mat3x3) -> mat3x3: ...
|
|
|
def __sub__(self, other: mat3x3) -> mat3x3: ...
|
|
|
def __mul__(self, other: float) -> mat3x3: ...
|
|
|
+ def __rmul__(self, other: float) -> mat3x3: ...
|
|
|
def __truediv__(self, other: float) -> mat3x3: ...
|
|
|
|
|
|
def __invert__(self) -> mat3x3: ...
|