Popov72 4 лет назад
Родитель
Сommit
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 &&