|
@@ -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 &&
|