added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody
This commit is contained in:
@@ -18,7 +18,8 @@ subject to the following restrictions:
|
||||
#include "LinearMath/btQuaternion.h"
|
||||
|
||||
|
||||
btConvexHullShape ::btConvexHullShape (btPoint3* points,int numPoints,int stride)
|
||||
|
||||
btConvexHullShape ::btConvexHullShape (const float* points,int numPoints,int stride)
|
||||
{
|
||||
m_points.resize(numPoints);
|
||||
unsigned char* pointsBaseAddress = (unsigned char*)points;
|
||||
|
||||
Reference in New Issue
Block a user