blueloveTH hai 1 ano
pai
achega
a99b271a4e
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  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_point(self, p: vec2) -> vec2: ...
     def transform_vector(self, v: 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
 vec2_p = float_p
 vec3_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_point(self, p: vec2) -> vec2: ...
     def transform_vector(self, v: 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
 vec2_p = float_p
 vec3_p = float_p
 vec3_p = float_p