Replaced most STL std::vector with btAlignedObjectArray.
Same interface but less features (push_back, pop_back, clear, size, [] etc). To prepare for SIMD/SSE code: Added #define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
This commit is contained in:
@@ -199,7 +199,7 @@ inline const Vector3 Plane::GetNormal() const
|
||||
return Vector3(base);
|
||||
}
|
||||
|
||||
inline const Scalar Plane::GetDistance() const
|
||||
inline const Scalar Plane::getDistance() const
|
||||
{
|
||||
return GetW();
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
inline short Hull::GetNumVertices() const
|
||||
inline short Hull::getNumVertices() const
|
||||
{
|
||||
return m_numVerts;
|
||||
}
|
||||
@@ -29,12 +29,12 @@ inline short Hull::GetNumFaces() const
|
||||
return m_numFaces;
|
||||
}
|
||||
|
||||
inline short Hull::GetNumEdges() const
|
||||
inline short Hull::getNumEdges() const
|
||||
{
|
||||
return m_numEdges;
|
||||
}
|
||||
|
||||
inline const Point3& Hull::GetVertex(short index) const
|
||||
inline const Point3& Hull::getVertex(short index) const
|
||||
{
|
||||
return m_pVerts[index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user