Popov72 hace 4 años
padre
commit
81edeabbfc
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  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 &&