static APIController() { PhysicsEngine2 = new PhysicsEngine2D(GC, Count); PhysicsEngine2.Randomize(MinMass, MaxMass, BoundingBox); PhysicsEngine3D = new PhysicsEngine3D(1, 5); PhysicsEngine3D.Randomize(0, 1, 10); }
public IActionResult Reset2() { PhysicsEngine2 = new PhysicsEngine2D(GC, Count); PhysicsEngine2.Randomize(MinMass, MaxMass, BoundingBox); return(Ok()); }