Soft2D
A 2D multi-material continuum physics engine designed for real-time applications.
|
#include <soft2d_core.h>
Public Attributes | |
uint32_t | vertex_num |
The number of vertices in the vertex buffer. | |
void * | vertices |
A user-specified vertex buffer. | |
Structure S2PolygonShape
A polygon shape. A polygon shape requires users to provide a pointer of S2Vec2
C array which stores all vertices of a polygon. These vertices should be in a counter-clockwise order.