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:
parent
a28c2622d9
commit
c8e09fd794
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user