diff --git a/src/main/native/glue/jmeBulletUtil.cpp b/src/main/native/glue/jmeBulletUtil.cpp index 7db54e19..0ec06d1f 100644 --- a/src/main/native/glue/jmeBulletUtil.cpp +++ b/src/main/native/glue/jmeBulletUtil.cpp @@ -572,7 +572,7 @@ void jmeBulletUtil::addRayTestResult(JNIEnv *pEnv, jobject resultList, return; } - pEnv->CallBooleanMethod(resultList, jmeClasses::List_addmethod, result); + pEnv->CallBooleanMethod(resultList, jmeClasses::List_addMethod, result); if (pEnv->ExceptionCheck()) { pEnv->Throw(pEnv->ExceptionOccurred()); return; @@ -620,7 +620,7 @@ void jmeBulletUtil::addSweepTestResult(JNIEnv *pEnv, jobject resultList, return; } - pEnv->CallBooleanMethod(resultList, jmeClasses::List_addmethod, result); + pEnv->CallBooleanMethod(resultList, jmeClasses::List_addMethod, result); if (pEnv->ExceptionCheck()) { pEnv->Throw(pEnv->ExceptionOccurred()); return; diff --git a/src/main/native/glue/jmeClasses.cpp b/src/main/native/glue/jmeClasses.cpp index a810787c..bc309c97 100644 --- a/src/main/native/glue/jmeClasses.cpp +++ b/src/main/native/glue/jmeClasses.cpp @@ -43,7 +43,7 @@ JavaVM * jmeClasses::vm; jclass jmeClasses::IllegalArgumentException; -jmethodID jmeClasses::List_addmethod; +jmethodID jmeClasses::List_addMethod; jmethodID jmeClasses::CollisionSpace_notifyCollisionGroupListeners; @@ -198,7 +198,7 @@ void jmeClasses::initJavaClasses(JNIEnv *pEnv) { pEnv->Throw(pEnv->ExceptionOccurred()); return; } - List_addmethod = pEnv->GetMethodID(List, "add", "(Ljava/lang/Object;)Z"); + List_addMethod = pEnv->GetMethodID(List, "add", "(Ljava/lang/Object;)Z"); if (pEnv->ExceptionCheck()) { pEnv->Throw(pEnv->ExceptionOccurred()); return; diff --git a/src/main/native/glue/jmeClasses.h b/src/main/native/glue/jmeClasses.h index dffb5573..92c8b99b 100644 --- a/src/main/native/glue/jmeClasses.h +++ b/src/main/native/glue/jmeClasses.h @@ -56,7 +56,7 @@ class jmeClasses { static jclass IllegalArgumentException; - static jmethodID List_addmethod; + static jmethodID List_addMethod; static jmethodID CollisionSpace_notifyCollisionGroupListeners;