14 #ifndef ODECYLINDERGEOM_H 15 #define ODECYLINDERGEOM_H 38 INLINE
void set_params(dReal radius, dReal length);
39 INLINE
void get_params(dReal *radius, dReal *length)
const;
40 INLINE dReal get_radius()
const;
41 INLINE dReal get_length()
const;
44 INLINE
static int get_geom_class() {
return dCylinderClass; };
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.
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.
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.