21 BulletSoftBodyMaterial::
22 BulletSoftBodyMaterial(btSoftBody::Material &material) : _material(material) {
29 PN_stdfloat BulletSoftBodyMaterial::
30 get_linear_stiffness()
const {
33 return (PN_stdfloat)_material.m_kLST;
43 _material.m_kLST = (btScalar)value;
49 PN_stdfloat BulletSoftBodyMaterial::
50 get_angular_stiffness()
const {
53 return (PN_stdfloat)_material.m_kAST;
63 _material.m_kAST = (btScalar)value;
69 PN_stdfloat BulletSoftBodyMaterial::
70 get_volume_preservation()
const {
73 return (PN_stdfloat)_material.m_kVST;
83 _material.m_kVST = (btScalar)value;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
set_volume_preservation
Setter for the property m_kVST.
Similar to MutexHolder, but for a light mutex.
set_linear_stiffness
Setter for the property m_kLST.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
set_angular_stiffness
Setter for the property m_kAST.