Пример #1
0
 public void AddFloor(double friction)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new FloorConstraint(i, friction);
         Constraints.Add(c);
     }
 }
Пример #2
0
 public void AddFloor(double friction)
 {
     for (int i = 0; i < Positions.Length; i++)
     {
         var c = new FloorConstraint(i, friction);
         Constraints.Add(c);
     }
 }