From 5de3163fb8843fe3ca37e9c4e85f95dc73d5f4d6 Mon Sep 17 00:00:00 2001 From: Maselbas Date: Mon, 18 May 2015 22:36:45 +0200 Subject: [PATCH] Bullet RigidBody : removed commented code --- ...m_jme3_bullet_objects_PhysicsRigidBody.cpp | 19 ------------------- ...com_jme3_bullet_objects_PhysicsRigidBody.h | 7 ------- 2 files changed, 26 deletions(-) diff --git a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp b/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp index 2bb6e057e..c9fef97cb 100644 --- a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp +++ b/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp @@ -824,25 +824,6 @@ extern "C" { 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(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 diff --git a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.h b/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.h index cb714c7bc..67ba9e609 100644 --- a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.h +++ b/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.h @@ -401,13 +401,6 @@ JNIEXPORT jfloat JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_getAngula JNIEXPORT void JNICALL Java_com_jme3_bullet_objects_PhysicsRigidBody_getAngularFactor (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