Soft2D
A 2D multi-material continuum physics engine designed for real-time applications.
|
#include <soft2d_core.h>
Public Attributes | |
S2MaterialType | type |
Material's type. | |
float | density |
Density (kg/m^3). | |
float | youngs_modulus |
Young's modulus (MPa). | |
float | poissons_ratio |
Poisson's ratio. | |
Structure S2Material
Physical Materials. Describing a body's physical properties. This must be provided when creating a body.