OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:convexShape
(Results
1 - 2
of
2
) sorted by null
/external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_util_DebugShapeFactory.cpp
100
btConvexShape*
convexShape
= reinterpret_cast<btConvexShape*>(shape);
102
if (
convexShape
->getUserPointer() == NULL) {
104
btShapeHull* hull = new btShapeHull(
convexShape
);
105
float margin =
convexShape
->getMargin();
107
convexShape
->setUserPointer(hull);
110
btShapeHull* hull = (btShapeHull*)
convexShape
->getUserPointer();
146
convexShape
->setUserPointer(NULL);
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DebugShapeFactory.java
35
import com.bulletphysics.collision.shapes.
ConvexShape
;
124
if (shape.getCShape() instanceof
ConvexShape
) {
126
mesh.setBuffer(Type.Position, 3, getVertices((
ConvexShape
) shape.getCShape()));
155
* @param
convexShape
the shape to retreieve the vertices from.
158
private static FloatBuffer getVertices(
ConvexShape
convexShape
) {
160
if (
convexShape
.getUserPointer() == null) {
162
ShapeHull hull = new ShapeHull(
convexShape
);
163
float margin =
convexShape
.getMargin();
165
convexShape
.setUserPointer(hull)
[
all
...]
Completed in 30 milliseconds