Justin Oblak 12 роки тому
батько
коміт
359dfe2f79

+ 7 - 0
Typescript/Bones/babylon.bone.d.ts

@@ -3,6 +3,12 @@
 declare module BABYLON {
     class Bone {
         name: string;
+        _skeleton: Skeleton;
+        _matrix: Matrix;
+        _baseMatrix: Matrix;
+        _worldTransform: Matrix;
+        _absoluteTransform: Matrix;
+        _invertedAbsoluteTransform: Matrix;
         children: Bone[];
         animation: Animation[];
 
@@ -11,6 +17,7 @@ declare module BABYLON {
         getParent(): Bone;
         getLocalMatrix: Matrix;
         getAbsoluteMatrix: Matrix;
+        _updateDifferenceMatrix(): void ;
         updateMatrix(matrix: Matrix): void;
         markAsDirty(): void;
     }

+ 2 - 0
Typescript/Bones/babylon.skeleton.d.ts

@@ -5,6 +5,8 @@ declare module BABYLON {
         id: number;
         name: string;
         bones: Bone[];
+        _scene: Scene;
+        _isDirty: boolean;
 
         constructor(name: string, id: number, scene: Scene);