Bullet Native:

- small fix in SixDofJoint (thanks to chototsu)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-05-09 09:26:08 +00:00
parent a28c2622d9
commit c8e09fd794

View File

@ -85,7 +85,7 @@ extern "C" {
btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId; btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId;
btVector3* vec = &btVector3(); btVector3* vec = &btVector3();
jmeBulletUtil::convert(env, vector, vec); jmeBulletUtil::convert(env, vector, vec);
joint->setLinearUpperLimit(*vec); joint->setLinearLowerLimit(*vec);
} }
/* /*
@ -98,7 +98,7 @@ extern "C" {
btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId; btGeneric6DofConstraint* joint = (btGeneric6DofConstraint*) jointId;
btVector3* vec = &btVector3(); btVector3* vec = &btVector3();
jmeBulletUtil::convert(env, vector, vec); jmeBulletUtil::convert(env, vector, vec);
joint->setLinearUpperLimit(*vec); joint->setAngularUpperLimit(*vec);
} }
/* /*