예제 #1
0
 //=========================================================================================
 public override void Create()
 {
     vertexToParticleMap  = new ExNativeMultiHashMap <int, int>();
     vertexToParticleList = new FixedNativeListWithCount <int>();
     vertexToParticleList.SetEmptyElement(-1);
 }
예제 #2
0
 //=========================================================================================
 public override void Create()
 {
     springMap        = new ExNativeMultiHashMap <int, SpringData>();
     springVertexList = new FixedNativeListWithCount <int>();
     springVertexList.SetEmptyElement(-1);
 }