15 #ifndef __BULLET_SOFT_BODY_WORLD_INFO_H__
16 #define __BULLET_SOFT_BODY_WORLD_INFO_H__
18 #include "pandabase.h"
20 #include "bullet_includes.h"
21 #include "bullet_utils.h"
34 void set_air_density(PN_stdfloat density);
35 void set_water_density(PN_stdfloat density);
36 void set_water_offset(PN_stdfloat offset);
37 void set_water_normal(
const LVector3 &normal);
38 void set_gravity(
const LVector3 &gravity);
40 PN_stdfloat get_air_density()
const;
41 PN_stdfloat get_water_density()
const;
42 PN_stdfloat get_water_offset()
const;
46 void garbage_collect(
int lifetime=256);
51 INLINE btSoftBodyWorldInfo &get_info()
const;
54 btSoftBodyWorldInfo &_info;
57 #include "bulletSoftBodyWorldInfo.I"
59 #endif // __BULLET_SOFT_BODY_WORLD_INFO_H__
This is a three-component vector distance (as opposed to a three-component point, which represents a ...