forked from bartvdbraak/blender
BGE Physics Cleanup: Fixing an error that GCC didn't catch.
This commit is contained in:
parent
efa40ea590
commit
b792ad2b46
@ -1362,7 +1362,7 @@ MT_Vector3 CcdPhysicsController::GetAngularVelocity()
|
|||||||
|
|
||||||
MT_Vector3 CcdPhysicsController::GetVelocity(const MT_Point3 &posin)
|
MT_Vector3 CcdPhysicsController::GetVelocity(const MT_Point3 &posin)
|
||||||
{
|
{
|
||||||
btVector3 pos(pos.x(), pos.y(), pos.z());
|
btVector3 pos(posin.x(), posin.y(), posin.z());
|
||||||
btRigidBody* body = GetRigidBody();
|
btRigidBody* body = GetRigidBody();
|
||||||
if (body)
|
if (body)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user