14 #ifndef ODETRIMESHGEOM_H
15 #define ODETRIMESHGEOM_H
45 INLINE
void enable_TC(
int geom_class,
int enable);
46 INLINE
int is_TC_enabled(
int geom_class)
const;
47 INLINE
void clear_TC_cache(
const OdeGeom &geom);
48 INLINE
void get_triangle(
int face_index, LPoint3f &v0, LPoint3f &v1, LPoint3f &v2)
const;
49 INLINE LPoint3f get_point(
int face_index, dReal u, dReal v)
const;
50 INLINE
int get_num_triangles()
const;
53 INLINE
static int get_geom_class() {
return dTriMeshClass; };
54 INLINE dTriMeshDataID get_tri_mesh_data_id()
const;
55 INLINE dTriMeshDataID get_data_id()
const;
61 static void init_type() {
64 OdeGeom::get_class_type());
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
TypeHandle is the identifier used to differentiate C++ class types.
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.
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(),...