15 #ifndef ODETRIMESHGEOM_H 16 #define ODETRIMESHGEOM_H 18 #include "pandabase.h" 21 #include "ode_includes.h" 23 #include "odeTriMeshData.h" 47 INLINE
void enable_TC(
int geom_class,
int enable);
48 INLINE
int is_TC_enabled(
int geom_class)
const;
49 INLINE
void clear_TC_cache(
const OdeGeom &geom);
51 INLINE
LPoint3f get_point(
int face_index, dReal u, dReal v)
const;
52 INLINE
int get_num_triangles()
const;
55 INLINE
static int get_geom_class() {
return dTriMeshClass; };
56 INLINE dTriMeshDataID get_tri_mesh_data_id()
const;
57 INLINE dTriMeshDataID get_data_id()
const;
63 static void init_type() {
65 register_type(_type_handle,
"OdeTriMeshGeom",
66 OdeGeom::get_class_type());
69 return get_class_type();
71 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
77 #include "odeTriMeshGeom.I"
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
TypeHandle is the identifier used to differentiate C++ class types.