Boxes and 2D Transformations - Let's Make a Physics Engine [04]

Let's give the physics body class the ability to simulate boxes (rectangles)! Let's also create a transformation class for rotation and translation. This will allow us to handle collisions for basic 2D polygons. Source code (github): Flat: https://github.com/twobitcoder101/Flat FlatPhysics: https://github.com/twobitcoder101/Fla...