Skip to content

Commit

Permalink
jmeClasses.cpp: whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 2, 2024
1 parent 5395444 commit 646a246
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/main/native/glue/jmeClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,10 @@ void jmeClasses::initJavaClasses(JNIEnv *pEnv) {
* Invoke NativeLibrary.reinitialization()
* in order to perform incremental cleanup.
*/
pEnv->CallStaticVoidMethod(NativeLibrary_Class,
NativeLibrary_reinitialization);
pEnv->CallStaticVoidMethod(
NativeLibrary_Class, NativeLibrary_reinitialization);
// no check for exceptions!
}

return;
}

Expand All @@ -203,12 +202,15 @@ void jmeClasses::initJavaClasses(JNIEnv *pEnv) {
#ifdef BT_USE_DOUBLE_PRECISION
printf("Dp_");
#endif

#if BT_THREADSAFE
printf("Mt_");
#endif

#ifdef BT_ENABLE_PROFILE
printf("Quickprof_");
#endif

printf("Libbulletjme version %s initializing\n", LIBBULLETJME_VERSION);
fflush(stdout);
}
Expand Down Expand Up @@ -410,13 +412,10 @@ void jmeClasses::initJavaClasses(JNIEnv *pEnv) {

jclass transform = pEnv->FindClass("com/jme3/math/Transform");
EXCEPTION_CHK(pEnv,);

GLOBAL_METHOD(Transform_rotation,
transform, "getRotation", "()Lcom/jme3/math/Quaternion;");

GLOBAL_METHOD(Transform_scale,
transform, "getScale", "()Lcom/jme3/math/Vector3f;");

GLOBAL_METHOD(Transform_translation,
transform, "getTranslation", "()Lcom/jme3/math/Vector3f;");

Expand Down

0 comments on commit 646a246

Please sign in to comment.