Bullet RigidBody : removed commented code

experimental
Maselbas 10 years ago
parent 3780061863
commit 5de3163fb8
  1. 19
      jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp
  2. 7
      jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.h

@ -824,25 +824,6 @@ extern "C" {
jmeBulletUtil::convert(env, &body->getAngularFactor(), factor); jmeBulletUtil::convert(env, &body->getAngularFactor(), factor);
} }
/*
* Class: com_jme3_bullet_objects_PhysicsRigidBody
* Method: setAngularFactor
* Signature: (JF)V
*/
// JNIEXPORT void JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_setAngularFactor
// (JNIEnv *env, jobject object, jlong bodyId, jfloat value) {
// btRigidBody* body = reinterpret_cast<btRigidBody*>(bodyId);
// if (body == NULL) {
// jclass newExc = env->FindClass("java/lang/NullPointerException");
// env->ThrowNew(newExc, "The native object does not exist.");
// return;
// }
// btVector3 vec1 = btVector3();
// vec1.setX(value);
// vec1.setY(value);
// vec1.setZ(value);
// body->setAngularFactor(vec1);
// }
/* /*
* Class: com_jme3_bullet_objects_PhysicsRigidBody * Class: com_jme3_bullet_objects_PhysicsRigidBody

@ -401,13 +401,6 @@ JNIEXPORT jfloat JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_getAngula
JNIEXPORT void JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_getAngularFactor JNIEXPORT void JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_getAngularFactor
(JNIEnv *, jobject, jlong, jobject); (JNIEnv *, jobject, jlong, jobject);
/*
* Class: com_jme3_bullet_objects_PhysicsRigidBody
* Method: setAngularFactor
* Signature: (JF)V
*/
//JNIEXPORT void JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_setAngularFactor
// (JNIEnv *, jobject, jlong, jfloat);
/* /*
* Class: com_jme3_bullet_objects_PhysicsRigidBody * Class: com_jme3_bullet_objects_PhysicsRigidBody

Loading…
Cancel
Save