#include <definitions.hpp>
|
| template<class Archive > |
| void | serialize (Archive &ar) |
| |
The Material class defines Physics properties for any Shape. To apply a material onto a Shape, use the applyMaterial() function of the Shape.
◆ serialize()
template<class Archive >
| void Material::serialize |
( |
Archive & |
ar | ) |
|
|
inline |
◆ density
| float Material::density = 1.0f |
◆ friction
| float Material::friction = 0.3f |
◆ restitution
| float Material::restitution = 0.0f |
◆ rollingResistance
| float Material::rollingResistance = 0.0f |
◆ tangentSpeed
| float Material::tangentSpeed = 0.0f |
The documentation for this class was generated from the following file: