Browse Source

Merge pull request #19360 from sadstag/fixTextureDTS

fix: Texture.d.ts : added matrix and matrixAutoUpdate
Mr.doob 5 years ago
parent
commit
da99a7504c
1 changed files with 3 additions and 0 deletions
  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;