Home
last modified time | relevance | path

Searched refs:halfExtents (Results 1 – 7 of 7) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DCylinderCollisionShape.java51 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 …]
DBoxCollisionShape.java49 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/
DCylinderCollisionShape.java49 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
DBoxCollisionShape.java49 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/
Dcom_jme3_bullet_collision_shapes_BoxCollisionShape.cpp49 (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()
Dcom_jme3_bullet_collision_shapes_CylinderCollisionShape.cpp49 (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/
DTestGhostObject.java105 Vector3f halfExtents = new Vector3f(3, 4.2f, 1); in initGhostObject() local
106 ghostControl = new GhostControl(new BoxCollisionShape(halfExtents)); in initGhostObject()