| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef BT_STRIDING_MESHINTERFACE_H 
   17 #define BT_STRIDING_MESHINTERFACE_H 
   51         virtual void getLockedVertexIndexBase(
unsigned char** vertexbase, 
int& numverts, 
PHY_ScalarType& type, 
int& stride, 
unsigned char** indexbase, 
int& indexstride, 
int& numfaces, 
PHY_ScalarType& indicestype, 
int subpart = 0) = 0;
 
   53         virtual void getLockedReadOnlyVertexIndexBase(
const unsigned char** vertexbase, 
int& numverts, 
PHY_ScalarType& type, 
int& stride, 
const unsigned char** indexbase, 
int& indexstride, 
int& numfaces, 
PHY_ScalarType& indicestype, 
int subpart = 0) 
const = 0;
 
   57         virtual void unLockVertexBase(
int subpart) = 0;
 
   59         virtual void unLockReadOnlyVertexBase(
int subpart) 
const = 0;
 
   63         virtual int getNumSubParts() 
const = 0;
 
   65         virtual void preallocateVertices(
int numverts) = 0;
 
   66         virtual void preallocateIndices(
int numindices) = 0;
 
   89         virtual int calculateSerializeBufferSize() 
const;
 
   92         virtual const char* serialize(
void* dataBuffer, 
btSerializer* serializer) 
const;
 
  153 #endif  //BT_STRIDING_MESHINTERFACE_H 
  
btShortIntIndexTripletData * m_3indices16
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btVector3FloatData * m_vertices3f
void setScaling(const btVector3 &scaling)
btShortIntIndexData * m_indices16
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
The btStridingMeshInterface is the interface class for high performance generic access to triangle me...
btStridingMeshInterface()
PHY_ScalarType
PHY_ScalarType enumerates possible scalar types.
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.
btVector3DoubleData * m_vertices3d
unsigned char m_values[3]
#define ATTRIBUTE_ALIGNED16(a)
const btVector3 & getScaling() const
btIntIndexData * m_indices32
#define SIMD_FORCE_INLINE
virtual int calculateSerializeBufferSize() const
virtual void setPremadeAabb(const btVector3 &aabbMin, const btVector3 &aabbMax) const
btMeshPartData * m_meshPartsPtr
virtual void getPremadeAabb(btVector3 *aabbMin, btVector3 *aabbMax) const
btVector3FloatData m_scaling
do not change those serialization structures, it requires an updated sBulletDNAstr/sBulletDNAstr64
virtual bool hasPremadeAabb() const
btCharIndexTripletData * m_3indices8