/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | CylinderCollisionShape.java | 51 protected Vector3f halfExtents; field in CylinderCollisionShape 61 public CylinderCollisionShape(Vector3f halfExtents) { in CylinderCollisionShape() argument 62 this.halfExtents = halfExtents; in CylinderCollisionShape() 72 public CylinderCollisionShape(Vector3f halfExtents, int axis) { in CylinderCollisionShape() argument 73 this.halfExtents = halfExtents; in CylinderCollisionShape() 79 return halfExtents; in getHalfExtents() 89 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); in write() 96 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); in read() 104 cShape = new CylinderShapeX(Converter.convert(halfExtents)); in createShape() 107 cShape = new CylinderShape(Converter.convert(halfExtents)); in createShape() [all …]
|
D | BoxCollisionShape.java | 49 private Vector3f halfExtents; field in BoxCollisionShape 58 public BoxCollisionShape(Vector3f halfExtents) { in BoxCollisionShape() argument 59 this.halfExtents = halfExtents; in BoxCollisionShape() 64 return halfExtents; in getHalfExtents() 70 capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1)); in write() 76 Vector3f halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(1, 1, 1)); in read() local 77 this.halfExtents = halfExtents; in read() 82 cShape = new BoxShape(Converter.convert(halfExtents)); in createShape()
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | CylinderCollisionShape.java | 49 protected Vector3f halfExtents; field in CylinderCollisionShape 59 public CylinderCollisionShape(Vector3f halfExtents) { in CylinderCollisionShape() argument 60 this.halfExtents = halfExtents; in CylinderCollisionShape() 70 public CylinderCollisionShape(Vector3f halfExtents, int axis) { in CylinderCollisionShape() argument 71 this.halfExtents = halfExtents; in CylinderCollisionShape() 77 return halfExtents; in getHalfExtents() 87 capsule.write(halfExtents, "halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); in write() 94 halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(0.5f, 0.5f, 0.5f)); in read() 100 objectId = createShape(axis, halfExtents); in createShape() 119 private native long createShape(int axis, Vector3f halfExtents); in createShape() argument
|
D | BoxCollisionShape.java | 49 private Vector3f halfExtents; field in BoxCollisionShape 58 public BoxCollisionShape(Vector3f halfExtents) { in BoxCollisionShape() argument 59 this.halfExtents = halfExtents; in BoxCollisionShape() 64 return halfExtents; in getHalfExtents() 70 capsule.write(halfExtents, "halfExtents", new Vector3f(1, 1, 1)); in write() 76 Vector3f halfExtents = (Vector3f) capsule.readSavable("halfExtents", new Vector3f(1, 1, 1)); in read() local 77 this.halfExtents = halfExtents; in read() 82 objectId = createShape(halfExtents); in createShape() 89 private native long createShape(Vector3f halfExtents); in createShape() argument
|
/external/jmonkeyengine/engine/src/bullet-native/ |
D | com_jme3_bullet_collision_shapes_BoxCollisionShape.cpp | 49 (JNIEnv *env, jobject object, jobject halfExtents) { in Java_com_jme3_bullet_collision_shapes_BoxCollisionShape_createShape() argument 52 jmeBulletUtil::convert(env, halfExtents, &extents); in Java_com_jme3_bullet_collision_shapes_BoxCollisionShape_createShape()
|
D | com_jme3_bullet_collision_shapes_CylinderCollisionShape.cpp | 49 (JNIEnv * env, jobject object, jint axis, jobject halfExtents) { in Java_com_jme3_bullet_collision_shapes_CylinderCollisionShape_createShape() argument 52 jmeBulletUtil::convert(env, halfExtents, &extents); in Java_com_jme3_bullet_collision_shapes_CylinderCollisionShape_createShape()
|
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
D | TestGhostObject.java | 105 Vector3f halfExtents = new Vector3f(3, 4.2f, 1); in initGhostObject() local 106 ghostControl = new GhostControl(new BoxCollisionShape(halfExtents)); in initGhostObject()
|