OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:JointPreset
(Results
1 - 2
of
2
) sorted by null
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
HumanoidRagdollPreset.java
17
boneMap.put("head", new
JointPreset
(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI));
19
boneMap.put("torso", new
JointPreset
(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, 0, 0, FastMath.QUARTER_PI, -FastMath.QUARTER_PI));
21
boneMap.put("upperleg", new
JointPreset
(FastMath.PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI/2, -FastMath.QUARTER_PI/2, FastMath.QUARTER_PI, -FastMath.QUARTER_PI));
23
boneMap.put("lowerleg", new
JointPreset
(0, -FastMath.PI, 0, 0, 0, 0));
25
boneMap.put("foot", new
JointPreset
(0, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI));
27
boneMap.put("upperarm", new
JointPreset
(FastMath.HALF_PI, -FastMath.QUARTER_PI, 0, 0, FastMath.HALF_PI, -FastMath.QUARTER_PI));
29
boneMap.put("lowerarm", new
JointPreset
(FastMath.HALF_PI, 0, 0, 0, 0, 0));
31
boneMap.put("hand", new
JointPreset
(FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI, FastMath.QUARTER_PI, -FastMath.QUARTER_PI));
RagdollPreset.java
20
protected Map<String,
JointPreset
> boneMap = new HashMap<String,
JointPreset
>();
48
JointPreset
preset = boneMap.get(resultName);
58
new
JointPreset
().setupJoint(joint);
63
protected class
JointPreset
{
67
public
JointPreset
() {
70
public
JointPreset
(float maxX, float minX, float maxY, float minY, float maxZ, float minZ) {
Completed in 460 milliseconds