14 #ifndef ODESPHEREGEOM_H 15 #define ODESPHEREGEOM_H 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();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.