ttecnomaster / VerletPhysicEngine

Apache License 2.0
2 stars 0 forks source link

Verlet Physic Engine

How to use

Verlet Objects can be instantiated by using the static methods from the Verlet class

// Assuming there is a JFrame present frame.add(panel);

- Setup runtime
```java
public void tick() {
  // Steps the entire simulation. Parameter decides how far it steps
  solver.step(0.02f);

  // Renders the new Scene onto the panel
  panel.repaint();
}