|
|
@ -47,6 +47,7 @@ extern "C" { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2 |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2 |
|
|
|
(JNIEnv *env, jobject object, jobject vector1) { |
|
|
|
(JNIEnv *env, jobject object, jobject vector1) { |
|
|
|
|
|
|
|
jmeClasses::initJavaClasses(env); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(*vec1); |
|
|
|
btBU_Simplex1to4* simplexShape = new btBU_Simplex1to4(*vec1); |
|
|
@ -60,6 +61,7 @@ extern "C" { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
(JNIEnv *env, jobject object, jobject vector1, jobject vector2) { |
|
|
|
(JNIEnv *env, jobject object, jobject vector1, jobject vector2) { |
|
|
|
|
|
|
|
jmeClasses::initJavaClasses(env); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
@ -74,6 +76,7 @@ extern "C" { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
(JNIEnv * env, jobject object, jobject vector1, jobject vector2, jobject vector3) { |
|
|
|
(JNIEnv * env, jobject object, jobject vector1, jobject vector2, jobject vector3) { |
|
|
|
|
|
|
|
jmeClasses::initJavaClasses(env); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
@ -90,6 +93,7 @@ extern "C" { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
JNIEXPORT jlong JNICALL Java_com_jme3_bullet_collision_shapes_SimplexCollisionShape_createShape__Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2Lcom_jme3_math_Vector3f_2 |
|
|
|
(JNIEnv * env, jobject object, jobject vector1, jobject vector2, jobject vector3, jobject vector4) { |
|
|
|
(JNIEnv * env, jobject object, jobject vector1, jobject vector2, jobject vector3, jobject vector4) { |
|
|
|
|
|
|
|
jmeClasses::initJavaClasses(env); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
btVector3* vec1 = &btVector3(); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
jmeBulletUtil::convert(env, vector1, vec1); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
|
btVector3* vec2 = &btVector3(); |
|
|
|