- fix native bullet compiler error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10680 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
feb6b1a55a
commit
70eddd78a7
@ -13,8 +13,6 @@ extern "C" {
|
||||
#define com_jme3_bullet_PhysicsSpace_AXIS_Y 1L
|
||||
#undef com_jme3_bullet_PhysicsSpace_AXIS_Z
|
||||
#define com_jme3_bullet_PhysicsSpace_AXIS_Z 2L
|
||||
/* Inaccessible static: pQueueTL */
|
||||
/* Inaccessible static: physicsSpaceTL */
|
||||
/*
|
||||
* Class: com_jme3_bullet_PhysicsSpace
|
||||
* Method: createPhysicsSpace
|
||||
|
@ -0,0 +1,13 @@
|
||||
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||||
#include <jni.h>
|
||||
/* Header for class com_jme3_bullet_PhysicsSpace_BroadphaseType */
|
||||
|
||||
#ifndef _Included_com_jme3_bullet_PhysicsSpace_BroadphaseType
|
||||
#define _Included_com_jme3_bullet_PhysicsSpace_BroadphaseType
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
@ -307,7 +307,7 @@ void jmeBulletUtil::convertQuat(JNIEnv* env, const btMatrix3x3* in, jobject out)
|
||||
}
|
||||
}
|
||||
|
||||
void jmeBulletUtil::addResult(JNIEnv* env, jobject resultlist, btVector3 hitnormal, btVector3 m_hitPointWorld, btScalar m_hitFraction, btCollisionObject* hitobject) {
|
||||
void jmeBulletUtil::addResult(JNIEnv* env, jobject resultlist, btVector3 hitnormal, btVector3 m_hitPointWorld, btScalar m_hitFraction, const btCollisionObject* hitobject) {
|
||||
|
||||
jobject singleresult = env->AllocObject(jmeClasses::PhysicsRay_Class);
|
||||
jobject hitnormalvec = env->AllocObject(jmeClasses::Vector3f);
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
static void convert(JNIEnv* env, const btMatrix3x3* in, jobject out);
|
||||
static void convertQuat(JNIEnv* env, jobject in, btMatrix3x3* out);
|
||||
static void convertQuat(JNIEnv* env, const btMatrix3x3* in, jobject out);
|
||||
static void addResult(JNIEnv* env, jobject resultlist, const btVector3 hitnormal,const btVector3 m_hitPointWorld,const btScalar m_hitFraction,btCollisionObject* hitobject);
|
||||
static void addResult(JNIEnv* env, jobject resultlist, const btVector3 hitnormal,const btVector3 m_hitPointWorld,const btScalar m_hitFraction,const btCollisionObject* hitobject);
|
||||
private:
|
||||
jmeBulletUtil(){};
|
||||
~jmeBulletUtil(){};
|
||||
|
Loading…
x
Reference in New Issue
Block a user