Soft2D
A 2D multi-material continuum physics engine designed for real-time applications.
Loading...
Searching...
No Matches
S2Material Struct Reference

#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.
 

Detailed Description

Structure S2Material

Physical Materials. Describing a body's physical properties. This must be provided when creating a body.


The documentation for this struct was generated from the following file: