summaryrefslogtreecommitdiff
path: root/Demos/BspDemo
diff options
context:
space:
mode:
authorejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd>2006-10-11 06:07:14 +0000
committerejcoumans <ejcoumans@08e121b0-ae19-0410-a57b-3be3395fd4fd>2006-10-11 06:07:14 +0000
commita3373729058ce6c717d5ce78f7b689bf0bdd0c14 (patch)
treec0ebe7d8e8ae65425c17f2b3f6263668b99eec8c /Demos/BspDemo
parent919e8def6836e48ef425ee3c87b8e506fdcf430d (diff)
downloadbullet3-a3373729058ce6c717d5ce78f7b689bf0bdd0c14.tar.gz
added first draft of C-API, btConvexHullShape takes float* instead of btPoint*, added getGravity to btRigidBody
Diffstat (limited to 'Demos/BspDemo')
-rw-r--r--Demos/BspDemo/BspDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/BspDemo/BspDemo.cpp b/Demos/BspDemo/BspDemo.cpp
index 28fffe36a..7f291f776 100644
--- a/Demos/BspDemo/BspDemo.cpp
+++ b/Demos/BspDemo/BspDemo.cpp
@@ -70,7 +70,7 @@ public:
startTransform.setIdentity();
startTransform.setOrigin(btVector3(0,0,-10.f));
//this create an internal copy of the vertices
- btCollisionShape* shape = new btConvexHullShape(&vertices[0],vertices.size());
+ btCollisionShape* shape = new btConvexHullShape(&(vertices[0].getX()),vertices.size());
btRigidBody* body = m_demoApp->localCreateRigidBody(mass, startTransform,shape);
}