Explorar el Código

Merge pull request #19360 from sadstag/fixTextureDTS

fix: Texture.d.ts : added matrix and matrixAutoUpdate
Mr.doob hace 5 años
padre
commit
da99a7504c
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/textures/Texture.d.ts

+ 3 - 0
src/textures/Texture.d.ts

@@ -1,4 +1,5 @@
 import { Vector2 } from './../math/Vector2';
+import { Matrix3 } from './../math/Matrix3';
 import { EventDispatcher } from './../core/EventDispatcher';
 import {
 	Mapping,
@@ -43,6 +44,8 @@ export class Texture extends EventDispatcher {
 	format: PixelFormat;
 	internalFormat: PixelFormatGPU | null;
 	type: TextureDataType;
+	matrix: Matrix3;
+	matrixAutoUpdate: boolean;
 	offset: Vector2;
 	repeat: Vector2;
 	center: Vector2;