Searched refs:HALF_PI (Results 1 - 24 of 24) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/collision/
H A DTestRayCasting.java77 teapot.rotate(FastMath.HALF_PI, FastMath.HALF_PI, FastMath.HALF_PI);
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
H A DHumanoidRagdollPreset.java27 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));
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
H A DTestOgreComplexAnim.java122 if (angle > FastMath.HALF_PI / 2f){
123 angle = FastMath.HALF_PI / 2f;
125 }else if (angle < -FastMath.HALF_PI / 2f){
126 angle = -FastMath.HALF_PI / 2f;
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestPhysicsCar.java137 wheels1.rotate(0, FastMath.HALF_PI, 0);
145 wheels2.rotate(0, FastMath.HALF_PI, 0);
153 wheels3.rotate(0, FastMath.HALF_PI, 0);
161 wheels4.rotate(0, FastMath.HALF_PI, 0);
H A DTestAttachDriver.java165 wheels1.rotate(0, FastMath.HALF_PI, 0);
173 wheels2.rotate(0, FastMath.HALF_PI, 0);
181 wheels3.rotate(0, FastMath.HALF_PI, 0);
189 wheels4.rotate(0, FastMath.HALF_PI, 0);
/external/jmonkeyengine/engine/src/test/jme3test/material/
H A DTestParallax.java90 g.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
107 signpost.rotate(0, FastMath.HALF_PI, 0);
/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestLightRadius.java62 g.rotate(-FastMath.HALF_PI, 0, 0);
H A DTestLightNode.java63 g.rotate(-FastMath.HALF_PI, 0, 0);
H A DTestSpotLight.java119 signpost.rotate(0, FastMath.HALF_PI, 0);
H A DTestTransparentShadow.java73 geom.rotate(-FastMath.HALF_PI, 0, 0);
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DSphere.java186 float fAFraction = FastMath.HALF_PI * (-1.0f + fZFactor * iZ); // in (-pi/2, pi/2)
232 * (FastMath.HALF_PI + FastMath.asin(fZFraction)));
234 float r = (FastMath.HALF_PI - FastMath.abs(fAFraction)) / FastMath.PI;
252 * (FastMath.HALF_PI + FastMath.asin(fZFraction)));
254 float r = (FastMath.HALF_PI - FastMath.abs(fAFraction)) / FastMath.PI;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
H A DAbstractBlenderHelper.java71 upAxisRotationQuaternion = new Quaternion().fromAngles(-FastMath.HALF_PI, 0, 0);
/external/jmonkeyengine/engine/src/test/jme3test/input/
H A DTestChaseCamera.java69 ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
H A DTestCameraNode.java79 ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
/external/jmonkeyengine/engine/src/test/jme3test/post/
H A DTestTransparentSSAO.java39 geom.rotate(-FastMath.HALF_PI, 0, 0);
H A DTestTransparentCartoonEdge.java41 geom.rotate(-FastMath.HALF_PI, 0, 0);
H A DTestPostFilters.java126 signpost.rotate(0, FastMath.HALF_PI, 0);
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DFastMath.java59 public static final float HALF_PI = 0.5f * PI; field in class:FastMath
436 * <ul><li>If fValue is smaller than -1, then the result is -HALF_PI.
437 * <li>If the argument is greater than 1, then the result is HALF_PI.</ul>
448 return HALF_PI;
451 return -HALF_PI;
499 if (Math.abs(radians) > HALF_PI) {// put us in -PI/2 to +PI/2 space
534 return sin2(fValue + HALF_PI);
H A DQuaternion.java304 angles[2] = FastMath.HALF_PI;
308 angles[2] = -FastMath.HALF_PI;
/external/crcalc/tests/src/com/hp/creals/
H A DSlowCRTest.java54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2)); field in class:SlowCRTest
61 UnaryCRFunction.sinFunction.inverseMonotone(HALF_PI.negate(),
62 HALF_PI);
/external/jmonkeyengine/engine/src/test/jme3test/water/
H A DTestSceneWater.java131 water.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
/external/jmonkeyengine/engine/src/test/jme3test/animation/
H A DTestMotionPath.java84 motionControl.setRotation(new Quaternion().fromAngleNormalAxis(-FastMath.HALF_PI, Vector3f.UNIT_Y));
/external/jmonkeyengine/engine/src/test/jme3test/effect/
H A DTestEverything.java175 signpost.rotate(0, FastMath.HALF_PI, 0);
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
H A DSimpleWaterProcessor.java80 * water.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
514 geom.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));

Completed in 514 milliseconds