fix PhysicsLoopBack

This commit is contained in:
Erwin Coumans
2018-01-03 21:38:09 -08:00
parent 79d78a325a
commit 36c258fd3d
2 changed files with 8 additions and 0 deletions

View File

@@ -180,6 +180,12 @@ void PhysicsLoopBack::getCachedVisualShapeInformation(struct b3VisualShapeInform
return m_data->m_physicsClient->getCachedVisualShapeInformation(visualShapesInfo); return m_data->m_physicsClient->getCachedVisualShapeInformation(visualShapesInfo);
} }
void PhysicsLoopBack::getCachedCollisionShapeInformation(struct b3CollisionShapeInformation* collisionShapesInfo)
{
return m_data->m_physicsClient->getCachedCollisionShapeInformation(collisionShapesInfo);
}
void PhysicsLoopBack::getCachedVREvents(struct b3VREventsData* vrEventsData) void PhysicsLoopBack::getCachedVREvents(struct b3VREventsData* vrEventsData)
{ {
return m_data->m_physicsClient->getCachedVREvents(vrEventsData); return m_data->m_physicsClient->getCachedVREvents(vrEventsData);

View File

@@ -72,6 +72,8 @@ public:
virtual void getCachedVisualShapeInformation(struct b3VisualShapeInformation* visualShapesInfo); virtual void getCachedVisualShapeInformation(struct b3VisualShapeInformation* visualShapesInfo);
virtual void getCachedCollisionShapeInformation(struct b3CollisionShapeInformation* collisionShapesInfo);
virtual void getCachedVREvents(struct b3VREventsData* vrEventsData); virtual void getCachedVREvents(struct b3VREventsData* vrEventsData);
virtual void getCachedKeyboardEvents(struct b3KeyboardEventsData* keyboardEventsData); virtual void getCachedKeyboardEvents(struct b3KeyboardEventsData* keyboardEventsData);