blueloveTH 1 год назад
Родитель
Сommit
a99b271a4e
2 измененных файлов с 4 добавлено и 0 удалено
  1. 2 0
      docs/modules/linalg.md
  2. 2 0
      include/typings/linalg.pyi

+ 2 - 0
docs/modules/linalg.md

@@ -172,6 +172,8 @@ class mat3x3(_StructLike['mat3x3']):
 
     def transform_point(self, p: vec2) -> vec2: ...
     def transform_vector(self, v: vec2) -> vec2: ...
+    def inverse_transform_point(self, p: vec2) -> vec2: ...
+    def inverse_transform_vector(self, v: vec2) -> vec2: ...
 
 vec2_p = float_p
 vec3_p = float_p

+ 2 - 0
include/typings/linalg.pyi

@@ -160,6 +160,8 @@ class mat3x3(_StructLike['mat3x3']):
 
     def transform_point(self, p: vec2) -> vec2: ...
     def transform_vector(self, v: vec2) -> vec2: ...
+    def inverse_transform_point(self, p: vec2) -> vec2: ...
+    def inverse_transform_vector(self, v: vec2) -> vec2: ...
 
 vec2_p = float_p
 vec3_p = float_p