瀏覽代碼

Added SolidParticle next and previous properties for double link

jbousquie 10 年之前
父節點
當前提交
98ebe5c475
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/Particles/babylon.solidParticle.ts

+ 2 - 0
src/Particles/babylon.solidParticle.ts

@@ -14,6 +14,8 @@ module BABYLON {
         public _pos: number;
         public _shape: Vector3[]; 
         public _shapeUV : number[];   
+        public previous: SolidParticle;
+        public next: SolidParticle;
 
         constructor(particleIndex: number, positionIndex: number, shape: Vector3[], shapeUV: number[], shapeID: number) {
             this.idx = particleIndex;