• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revision628a56b2f5b55f45cfbdd9dca83becb60afc1baa (tree)
Time2013-06-30 03:23:38
Authornormen667 <normen667@75d0...>
Commiternormen667

Log Message

- fix native bullet compiler error

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Incremental Difference

--- a/engine/src/bullet-native/com_jme3_bullet_PhysicsSpace.h
+++ b/engine/src/bullet-native/com_jme3_bullet_PhysicsSpace.h
@@ -13,8 +13,6 @@ extern "C" {
1313 #define com_jme3_bullet_PhysicsSpace_AXIS_Y 1L
1414 #undef com_jme3_bullet_PhysicsSpace_AXIS_Z
1515 #define com_jme3_bullet_PhysicsSpace_AXIS_Z 2L
16-/* Inaccessible static: pQueueTL */
17-/* Inaccessible static: physicsSpaceTL */
1816 /*
1917 * Class: com_jme3_bullet_PhysicsSpace
2018 * Method: createPhysicsSpace
--- /dev/null
+++ b/engine/src/bullet-native/com_jme3_bullet_PhysicsSpace_BroadphaseType.h
@@ -0,0 +1,13 @@
1+/* DO NOT EDIT THIS FILE - it is machine generated */
2+#include <jni.h>
3+/* Header for class com_jme3_bullet_PhysicsSpace_BroadphaseType */
4+
5+#ifndef _Included_com_jme3_bullet_PhysicsSpace_BroadphaseType
6+#define _Included_com_jme3_bullet_PhysicsSpace_BroadphaseType
7+#ifdef __cplusplus
8+extern "C" {
9+#endif
10+#ifdef __cplusplus
11+}
12+#endif
13+#endif
--- a/engine/src/bullet-native/jmeBulletUtil.cpp
+++ b/engine/src/bullet-native/jmeBulletUtil.cpp
@@ -307,7 +307,7 @@ void jmeBulletUtil::convertQuat(JNIEnv* env, const btMatrix3x3* in, jobject out)
307307 }
308308 }
309309
310-void jmeBulletUtil::addResult(JNIEnv* env, jobject resultlist, btVector3 hitnormal, btVector3 m_hitPointWorld, btScalar m_hitFraction, btCollisionObject* hitobject) {
310+void jmeBulletUtil::addResult(JNIEnv* env, jobject resultlist, btVector3 hitnormal, btVector3 m_hitPointWorld, btScalar m_hitFraction, const btCollisionObject* hitobject) {
311311
312312 jobject singleresult = env->AllocObject(jmeClasses::PhysicsRay_Class);
313313 jobject hitnormalvec = env->AllocObject(jmeClasses::Vector3f);
--- a/engine/src/bullet-native/jmeBulletUtil.h
+++ b/engine/src/bullet-native/jmeBulletUtil.h
@@ -45,7 +45,7 @@ public:
4545 static void convert(JNIEnv* env, const btMatrix3x3* in, jobject out);
4646 static void convertQuat(JNIEnv* env, jobject in, btMatrix3x3* out);
4747 static void convertQuat(JNIEnv* env, const btMatrix3x3* in, jobject out);
48- static void addResult(JNIEnv* env, jobject resultlist, const btVector3 hitnormal,const btVector3 m_hitPointWorld,const btScalar m_hitFraction,btCollisionObject* hitobject);
48+ static void addResult(JNIEnv* env, jobject resultlist, const btVector3 hitnormal,const btVector3 m_hitPointWorld,const btScalar m_hitFraction,const btCollisionObject* hitobject);
4949 private:
5050 jmeBulletUtil(){};
5151 ~jmeBulletUtil(){};