Main repository of MikuMikuStudio
Revision | 628a56b2f5b55f45cfbdd9dca83becb60afc1baa (tree) |
---|---|
Time | 2013-06-30 03:23:38 |
Author | normen667 <normen667@75d0...> |
Commiter | normen667 |
- fix native bullet compiler error
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -13,8 +13,6 @@ extern "C" { | ||
13 | 13 | #define com_jme3_bullet_PhysicsSpace_AXIS_Y 1L |
14 | 14 | #undef com_jme3_bullet_PhysicsSpace_AXIS_Z |
15 | 15 | #define com_jme3_bullet_PhysicsSpace_AXIS_Z 2L |
16 | -/* Inaccessible static: pQueueTL */ | |
17 | -/* Inaccessible static: physicsSpaceTL */ | |
18 | 16 | /* |
19 | 17 | * Class: com_jme3_bullet_PhysicsSpace |
20 | 18 | * Method: createPhysicsSpace |
@@ -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 |
@@ -307,7 +307,7 @@ void jmeBulletUtil::convertQuat(JNIEnv* env, const btMatrix3x3* in, jobject out) | ||
307 | 307 | } |
308 | 308 | } |
309 | 309 | |
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) { | |
311 | 311 | |
312 | 312 | jobject singleresult = env->AllocObject(jmeClasses::PhysicsRay_Class); |
313 | 313 | jobject hitnormalvec = env->AllocObject(jmeClasses::Vector3f); |
@@ -45,7 +45,7 @@ public: | ||
45 | 45 | static void convert(JNIEnv* env, const btMatrix3x3* in, jobject out); |
46 | 46 | static void convertQuat(JNIEnv* env, jobject in, btMatrix3x3* out); |
47 | 47 | 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); | |
49 | 49 | private: |
50 | 50 | jmeBulletUtil(){}; |
51 | 51 | ~jmeBulletUtil(){}; |