Popov72 4 years ago
parent
commit
81edeabbfc
2 changed files with 2 additions and 0 deletions
  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
      * Checks if the texture has the same transform matrix than another texture
      * @param texture texture to check against
      * @param texture texture to check against
+     * @returns true if the transforms are the same, else false
      */
      */
     public checkTransformsAreIdentical(texture: Nullable<BaseTexture>): boolean {
     public checkTransformsAreIdentical(texture: Nullable<BaseTexture>): boolean {
         return texture !== null;
         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
      * Checks if the texture has the same transform matrix than another texture
      * @param texture texture to check against
      * @param texture texture to check against
+     * @returns true if the transforms are the same, else false
      */
      */
     public checkTransformsAreIdentical(texture: Nullable<Texture>): boolean {
     public checkTransformsAreIdentical(texture: Nullable<Texture>): boolean {
         return texture !== null &&
         return texture !== null &&