Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.h
- Timestamp:
- Dec 13, 2008, 11:45:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btStridingMeshInterface.h
r2192 r2430 19 19 #include "LinearMath/btVector3.h" 20 20 #include "btTriangleCallback.h" 21 #include "btConcaveShape.h" 21 22 22 /// PHY_ScalarType enumerates possible scalar types. 23 /// See the btStridingMeshInterface for its use 24 typedef enum PHY_ScalarType { 25 PHY_FLOAT, 26 PHY_DOUBLE, 27 PHY_INTEGER, 28 PHY_SHORT, 29 PHY_FIXEDPOINT88 30 } PHY_ScalarType; 23 31 24 32 25 /// The btStridingMeshInterface is the interface class for high performance generic access to triangle meshes, used in combination with btBvhTriangleMeshShape and some other collision shapes. … … 78 71 79 72 virtual bool hasPremadeAabb() const { return false; } 80 virtual void setPremadeAabb(const btVector3& aabbMin, const btVector3& aabbMax ) const {} 81 virtual void getPremadeAabb(btVector3* aabbMin, btVector3* aabbMax ) const {} 73 virtual void setPremadeAabb(const btVector3& aabbMin, const btVector3& aabbMax ) const 74 { 75 (void) aabbMin; 76 (void) aabbMax; 77 } 78 virtual void getPremadeAabb(btVector3* aabbMin, btVector3* aabbMax ) const 79 { 80 (void) aabbMin; 81 (void) aabbMax; 82 } 82 83 83 84 const btVector3& getScaling() const {
Note: See TracChangeset
for help on using the changeset viewer.