Browse Source

Added SolidParticle next and previous properties for double link

jbousquie 10 năm trước cách đây
mục cha
commit
98ebe5c475
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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;