|
@@ -58,8 +58,6 @@ class mat3x3:
|
|
|
def ones() -> mat3x3: ...
|
|
def ones() -> mat3x3: ...
|
|
|
@staticmethod
|
|
@staticmethod
|
|
|
def identity() -> mat3x3: ...
|
|
def identity() -> mat3x3: ...
|
|
|
- @staticmethod
|
|
|
|
|
- def ortho(left: float, right: float, bottom: float, top: float) -> mat3x3: ...
|
|
|
|
|
|
|
|
|
|
# affine transformations
|
|
# affine transformations
|
|
|
@staticmethod
|
|
@staticmethod
|
|
@@ -70,6 +68,8 @@ class mat3x3:
|
|
|
def scale(v: vec2) -> mat3x3: ...
|
|
def scale(v: vec2) -> mat3x3: ...
|
|
|
@staticmethod
|
|
@staticmethod
|
|
|
def trs(t: vec2, r: float, s: vec2) -> mat3x3: ...
|
|
def trs(t: vec2, r: float, s: vec2) -> mat3x3: ...
|
|
|
|
|
+ @staticmethod
|
|
|
|
|
+ def ortho(left: float, right: float, bottom: float, top: float) -> mat3x3: ...
|
|
|
|
|
|
|
|
def is_affine(self) -> bool: ...
|
|
def is_affine(self) -> bool: ...
|
|
|
def inverse_affine(self) -> mat3x3: ...
|
|
def inverse_affine(self) -> mat3x3: ...
|