Popov72 4 년 전
부모
커밋
81edeabbfc
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Materials/Textures/baseTexture.ts
  2. 1 0
      src/Materials/Textures/texture.ts

+ 1 - 0
src/Materials/Textures/baseTexture.ts

@@ -476,6 +476,7 @@ export class BaseTexture implements IAnimatable {
     /**
      * Checks if the texture has the same transform matrix than another texture
      * @param texture texture to check against
+     * @returns true if the transforms are the same, else false
      */
     public checkTransformsAreIdentical(texture: Nullable<BaseTexture>): boolean {
         return texture !== null;

+ 1 - 0
src/Materials/Textures/texture.ts

@@ -447,6 +447,7 @@ export class Texture extends BaseTexture {
     /**
      * Checks if the texture has the same transform matrix than another texture
      * @param texture texture to check against
+     * @returns true if the transforms are the same, else false
      */
     public checkTransformsAreIdentical(texture: Nullable<Texture>): boolean {
         return texture !== null &&