#include <shapes.hpp>
Inheritance diagram for Flatland::Quad:

Definition at line 15 of file shapes.hpp.
Public Member Functions | |
| Quad (float width, float height) | |
| void | UpdateBounds () |
| void | SetMass (Body body, float density) const |
| Shape | GetShape () const |
| virtual float | Extent (int i) const |
| vec2 | EAxis (int i) const |
| const vec2 * | GetCorners () const |
| bool | Contains (const vec2 &v) const |
Protected Attributes | |
| float | extent [2] |
| vec2 | corners [4] |