pass collision shapes as const. fixed some issues with continuous convex cast (resulting hitnormal was not initialized properly, results not proper)

This commit is contained in:
ejcoumans
2007-07-11 02:16:39 +00:00
parent 8c01430151
commit 7cd651c266
14 changed files with 42 additions and 29 deletions

View File

@@ -22,7 +22,7 @@ subject to the following restrictions:
#include "btPointCollector.h"
btGjkConvexCast::btGjkConvexCast(btConvexShape* convexA,btConvexShape* convexB,btSimplexSolverInterface* simplexSolver)
btGjkConvexCast::btGjkConvexCast(const btConvexShape* convexA,const btConvexShape* convexB,btSimplexSolverInterface* simplexSolver)
:m_simplexSolver(simplexSolver),
m_convexA(convexA),
m_convexB(convexB)