add function

This commit is contained in:
Irlan
2017-04-12 09:49:32 -03:00
parent 4c3eba7d18
commit 7a438d0fba
2 changed files with 29 additions and 16 deletions

View File

@ -17,24 +17,11 @@
*/
#include <bounce/dynamics/contacts/contact.h>
#include <bounce/dynamics/contacts/manifold.h>
#include <bounce/dynamics/shapes/shape.h>
#include <bounce/dynamics/body.h>
#include <bounce/dynamics/world.h>
#include <bounce/dynamics/world_listeners.h>
const b3Manifold* b3Contact::GetManifold(u32 index) const
{
B3_ASSERT(index < m_manifoldCount);
return m_manifolds + index;
}
b3Manifold* b3Contact::GetManifold(u32 index)
{
B3_ASSERT(index < m_manifoldCount);
return m_manifolds + index;
}
void b3Contact::GetWorldManifold(b3WorldManifold* out, u32 index) const
{
B3_ASSERT(index < m_manifoldCount);