Soft2D
A 2D multi-material continuum physics engine designed for real-time applications.
|
#include <soft2d_core.h>
Public Attributes | |
S2ShapeType | type |
Shape's type. | |
S2ShapeUnion | shape_union |
Shape's underlying data. | |
Structure S2Shape
A uniform representation of various shape structures. The value of type
should be consistent with the underlying shape structure of shape_union
.