ttecnomaster / VerletPhysicEngine

Apache License 2.0
2 stars 0 forks source link

Add RectangleConstraint #13

Closed ttecnomaster closed 3 months ago

ttecnomaster commented 3 months ago

Currently the BorderConstraint exists. If you put four BorderConstraints you effectively have a Rectangle. Therefor having a RectangleConstraint would be easier to use rather than using four BorderConstraint. The RectangleConstraint could make use of the BorderConstraint