Browse Source

TS: Clean up Skeleton.d.ts.

Mugen87 5 years ago
parent
commit
5335629173
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/objects/Skeleton.d.ts

+ 3 - 5
src/objects/Skeleton.d.ts

@@ -10,17 +10,15 @@ export class Skeleton {
 	 * @deprecated This property has been removed completely.
 	 */
 	useVertexTexture: boolean;
-	identityMatrix: Matrix4;
 	bones: Bone[];
-	boneTextureWidth: number;
-	boneTextureHeight: number;
 	boneMatrices: Float32Array;
-	boneTexture: DataTexture;
+	boneTexture: undefined | DataTexture;
 	boneInverses: Matrix4[];
 
 	calculateInverses( bone: Bone ): void;
 	pose(): void;
 	update(): void;
-	clone(): this;
+	clone(): Skeleton;
+	getBoneByName( name: string ): undefined | Bone;
 
 }