Searched defs:shape (Results 1 - 25 of 90) sorted by relevance

1234

/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_SphereCollisionShape.cpp51 btSphereShape* shape=new btSphereShape(radius); local
52 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_BoxCollisionShape.cpp53 btBoxShape* shape = new btBoxShape(extents); local
54 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_CapsuleCollisionShape.cpp51 btCollisionShape* shape; local
54 shape = new btCapsuleShapeX(radius, height);
57 shape = new btCapsuleShape(radius, height);
60 shape = new btCapsuleShapeZ(radius, height);
63 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_ConeCollisionShape.cpp51 btCollisionShape* shape; local
54 shape = new btConeShapeX(radius, height);
57 shape = new btConeShape(radius, height);
60 shape = new btConeShapeZ(radius, height);
63 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_CylinderCollisionShape.cpp53 btCollisionShape* shape; local
56 shape = new btCylinderShapeX(extents);
59 shape = new btCylinderShape(extents);
62 shape = new btCylinderShapeZ(extents);
65 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_GImpactCollisionShape.cpp53 btGImpactMeshShape* shape = new btGImpactMeshShape(array); local
54 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_MeshCollisionShape.cpp53 btBvhTriangleMeshShape* shape = new btBvhTriangleMeshShape(array, true, true); local
54 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant); local
55 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_HullCollisionShape.cpp55 btConvexHullShape* shape = new btConvexHullShape(); local
61 shape->addPoint(vect);
64 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_CollisionShape.cpp50 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
51 if (shape == NULL) {
56 return shape->getMargin();
66 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
67 if (shape == NULL) {
74 shape->setLocalScaling(scl);
84 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
85 if (shape == NULL) {
90 shape->setMargin(newMargin);
100 btCollisionShape* shape local
[all...]
H A Dcom_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp51 btCompoundShape* shape = new btCompoundShape(); local
52 return reinterpret_cast<jlong>(shape);
62 btCompoundShape* shape = reinterpret_cast<btCompoundShape*>(compoundId); local
63 if (shape == NULL) {
69 if (shape == NULL) {
78 shape->addChildShape(trans, child);
89 btCompoundShape* shape = reinterpret_cast<btCompoundShape*>(compoundId); local
90 if (shape == NULL) {
96 if (shape == NULL) {
101 shape
[all...]
H A Dcom_jme3_bullet_collision_shapes_HeightfieldCollisionShape.cpp53 btHeightfieldTerrainShape* shape=new btHeightfieldTerrainShape(heightStickWidth, heightStickLength, data, heightScale, minHeight, maxHeight, upAxis, PHY_FLOAT, flipQuadEdges); local
54 return reinterpret_cast<jlong>(shape);
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/
H A DTestBox.java33 package jme3test.model.shape;
39 import com.jme3.scene.shape.Box;
H A DTestCustomMesh.java33 package jme3test.model.shape;
H A DTestCylinder.java33 package jme3test.model.shape;
39 import com.jme3.scene.shape.Cylinder;
H A DTestSphere.java33 package jme3test.model.shape;
39 import com.jme3.scene.shape.Sphere;
H A DTestDebugShapes.java33 package jme3test.model.shape;
53 public Geometry putShape(Mesh shape, ColorRGBA color){ argument
54 Geometry g = new Geometry("shape", shape);
H A DTestBillboard.java33 package jme3test.model.shape;
42 import com.jme3.scene.shape.Box;
43 import com.jme3.scene.shape.Quad;
H A DTestExpandingTorus.java5 package jme3test.model.shape;
10 import com.jme3.scene.shape.Torus;
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
H A DDebugShapeFactory.java59 * Creates a debug shape from the given collision shape. This is mostly used internally.<br>
60 * To attach a debug shape to a physics object, call <code>attachDebugShape(AssetManager manager);</code> on it.
70 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape;
71 List<ChildCollisionShape> children = shape.getChildren();
75 CollisionShape ccollisionShape = childCollisionShape.shape;
104 private static Geometry createDebugShape(CollisionShape shape) { argument
106 geom.setMesh(DebugShapeFactory.getDebugMesh(shape));
107 // geom.setLocalScale(shape.getScale());
112 public static Mesh getDebugMesh(CollisionShape shape) { argument
[all...]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/
H A DChildCollisionShape.java22 public CollisionShape shape; field in class:ChildCollisionShape
27 public ChildCollisionShape(Vector3f location, Matrix3f rotation, CollisionShape shape) { argument
30 this.shape = shape;
37 capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
44 shape = (CollisionShape) capsule.readSavable("shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DCurve.java32 package com.jme3.scene.shape;
H A DLine.java33 package com.jme3.scene.shape;
H A DQuad.java33 package com.jme3.scene.shape;
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DPhysicsTestHelper.java23 import com.jme3.scene.shape.Box;
24 import com.jme3.scene.shape.Sphere;
25 import com.jme3.scene.shape.Sphere.TextureMode;
71 //immovable sphere with mesh collision shape
114 //immovable Box with mesh collision shape
160 * @param shape
164 public static Node createPhysicsTestNode(AssetManager manager, CollisionShape shape, float mass) { argument
166 RigidBodyControl control = new RigidBodyControl(shape, mass);

Completed in 192 milliseconds

1234