#include <btGImpactShape.h>
Public Member Functions | |
TrimeshPrimitiveManager () | |
TrimeshPrimitiveManager (const TrimeshPrimitiveManager &manager) | |
TrimeshPrimitiveManager (btStridingMeshInterface *meshInterface, int part) | |
void | lock () |
void | unlock () |
SIMD_FORCE_INLINE bool | is_trimesh () const |
SIMD_FORCE_INLINE GUINT | get_primitive_count () const |
SIMD_FORCE_INLINE GUINT | get_vertex_count () const |
SIMD_FORCE_INLINE void | get_indices (GUINT face_index, GUINT &i0, GUINT &i1, GUINT &i2) const |
SIMD_FORCE_INLINE void | get_vertex (GUINT vertex_index, btVector3 &vertex) const |
SIMD_FORCE_INLINE void | get_primitive_box (GUINT prim_index, GIM_AABB &primbox) const |
SIMD_FORCE_INLINE void | get_primitive_triangle (GUINT prim_index, GIM_TRIANGLE &triangle) const |
SIMD_FORCE_INLINE void | get_bullet_triangle (GUINT prim_index, btTriangleShapeEx &triangle) const |
Public Attributes | |
btScalar | m_margin |
btStridingMeshInterface * | m_meshInterface |
btVector3 | m_scale |
int | m_part |
GUINT | m_lock_count |
const unsigned char * | vertexbase |
int | numverts |
PHY_ScalarType | type |
int | stride |
const unsigned char * | indexbase |
int | indexstride |
int | numfaces |
PHY_ScalarType | indicestype |
Manages the info from btStridingMeshInterface object and controls the Lock/Unlock mechanism
btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager | ( | ) | [inline] |
btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager | ( | const TrimeshPrimitiveManager & | manager | ) | [inline] |
btGImpactMeshShapePart::TrimeshPrimitiveManager::TrimeshPrimitiveManager | ( | btStridingMeshInterface * | meshInterface, | |
int | part | |||
) | [inline] |
void btGImpactMeshShapePart::TrimeshPrimitiveManager::lock | ( | ) | [inline] |
void btGImpactMeshShapePart::TrimeshPrimitiveManager::unlock | ( | ) | [inline] |
SIMD_FORCE_INLINE bool btGImpactMeshShapePart::TrimeshPrimitiveManager::is_trimesh | ( | ) | const [inline] |
SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_count | ( | ) | const [inline] |
SIMD_FORCE_INLINE GUINT btGImpactMeshShapePart::TrimeshPrimitiveManager::get_vertex_count | ( | ) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_indices | ( | GUINT | face_index, | |
GUINT & | i0, | |||
GUINT & | i1, | |||
GUINT & | i2 | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_vertex | ( | GUINT | vertex_index, | |
btVector3 & | vertex | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_box | ( | GUINT | prim_index, | |
GIM_AABB & | primbox | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_primitive_triangle | ( | GUINT | prim_index, | |
GIM_TRIANGLE & | triangle | |||
) | const [inline] |
SIMD_FORCE_INLINE void btGImpactMeshShapePart::TrimeshPrimitiveManager::get_bullet_triangle | ( | GUINT | prim_index, | |
btTriangleShapeEx & | triangle | |||
) | const [inline] |
btStridingMeshInterface* btGImpactMeshShapePart::TrimeshPrimitiveManager::m_meshInterface |
const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::vertexbase |
PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::type |
const unsigned char* btGImpactMeshShapePart::TrimeshPrimitiveManager::indexbase |
PHY_ScalarType btGImpactMeshShapePart::TrimeshPrimitiveManager::indicestype |