- fix bug in native bullet ray direction (thanks to EmpirePhoenix)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9628 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent bb644be5e0
commit a98026b700
  1. 2
      engine/src/bullet-native/com_jme3_bullet_PhysicsSpace.cpp

@ -419,7 +419,7 @@ extern "C" {
} }
JNIEXPORT void JNICALL Java_com_jme3_bullet_PhysicsSpace_rayTest_1native JNIEXPORT void JNICALL Java_com_jme3_bullet_PhysicsSpace_rayTest_1native
(JNIEnv * env, jobject object, jobject to, jobject from, jlong spaceId, jobject resultlist) { (JNIEnv * env, jobject object, jobject from, jobject to, jlong spaceId, jobject resultlist) {
jmePhysicsSpace* space = reinterpret_cast<jmePhysicsSpace*> (spaceId); jmePhysicsSpace* space = reinterpret_cast<jmePhysicsSpace*> (spaceId);
if (space == NULL) { if (space == NULL) {

Loading…
Cancel
Save