예제 #1
0
 public SPH_Engine(int n)
 {
     this.num_particles = n;
     this.SpringArray   = new Spring_Array(n);
     rand = new Random();
 }
예제 #2
0
 //methods
 public void CreateSpringArray()
 {
     this.SpringArray = new Spring_Array(num_particles);
 }
예제 #3
0
 public void ResetSprings()
 {
     this.SpringArray = new Spring_Array(num_particles);
 }