26class EXPCL_PANDAODE OdeSphereGeom :
public OdeGeom {
30 OdeSphereGeom(dGeomID
id);
33 OdeSphereGeom(dReal radius);
34 OdeSphereGeom(OdeSpace &space, dReal radius);
35 OdeSphereGeom(OdeGeom &geom);
36 virtual ~OdeSphereGeom();
38 INLINE
void set_radius(dReal radius);
39 INLINE dReal get_radius()
const;
40 INLINE dReal get_point_depth(dReal x, dReal y, dReal z)
const;
41 INLINE dReal get_point_depth(
const LPoint3f &p)
const;
44 INLINE
static int get_geom_class() {
return dSphereClass; };
50 static void init_type() {
53 OdeGeom::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...