Home
last modified time | relevance | path

Searched refs:HALF_PI (Results 1 – 23 of 23) sorted by relevance

/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestRayCasting.java77 teapot.rotate(FastMath.HALF_PI, FastMath.HALF_PI, FastMath.HALF_PI); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/model/anim/
DTestOgreComplexAnim.java122 if (angle > FastMath.HALF_PI / 2f){ in simpleUpdate()
123 angle = FastMath.HALF_PI / 2f; in simpleUpdate()
125 }else if (angle < -FastMath.HALF_PI / 2f){ in simpleUpdate()
126 angle = -FastMath.HALF_PI / 2f; in simpleUpdate()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/
DHumanoidRagdollPreset.java27 …boneMap.put("upperarm", new JointPreset(FastMath.HALF_PI, -FastMath.QUARTER_PI, 0, 0, FastMath.HAL… in initBoneMap()
29 boneMap.put("lowerarm", new JointPreset(FastMath.HALF_PI, 0, 0, 0, 0, 0)); in initBoneMap()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
DSphere.java186 float fAFraction = FastMath.HALF_PI * (-1.0f + fZFactor * iZ); // in (-pi/2, pi/2) in setGeometryData()
232 * (FastMath.HALF_PI + FastMath.asin(fZFraction))); in setGeometryData()
234 float r = (FastMath.HALF_PI - FastMath.abs(fAFraction)) / FastMath.PI; in setGeometryData()
252 * (FastMath.HALF_PI + FastMath.asin(fZFraction))); in setGeometryData()
254 float r = (FastMath.HALF_PI - FastMath.abs(fAFraction)) / FastMath.PI; in setGeometryData()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestPhysicsCar.java137 wheels1.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
145 wheels2.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
153 wheels3.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
161 wheels4.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
DTestAttachDriver.java165 wheels1.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
173 wheels2.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
181 wheels3.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
189 wheels4.rotate(0, FastMath.HALF_PI, 0); in buildPlayer()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestParallax.java90 g.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); in setupFloor()
107 signpost.rotate(0, FastMath.HALF_PI, 0); in setupSignpost()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java59 public static final float HALF_PI = 0.5f * PI; field in FastMath
448 return HALF_PI; in asin()
451 return -HALF_PI; in asin()
499 if (Math.abs(radians) > HALF_PI) {// put us in -PI/2 to +PI/2 space in reduceSinAngle()
534 return sin2(fValue + HALF_PI); in cos2()
DQuaternion.java304 angles[2] = FastMath.HALF_PI; in toAngles()
308 angles[2] = -FastMath.HALF_PI; in toAngles()
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestLightRadius.java62 g.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp()
DTestLightNode.java63 g.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp()
DTestSpotLight.java119 signpost.rotate(0, FastMath.HALF_PI, 0); in setupSignpost()
DTestTransparentShadow.java73 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestTransparentSSAO.java39 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp()
DTestTransparentCartoonEdge.java41 geom.rotate(-FastMath.HALF_PI, 0, 0); in simpleInitApp()
DTestPostFilters.java126 signpost.rotate(0, FastMath.HALF_PI, 0); in setupSignpost()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/
DAbstractBlenderHelper.java71 upAxisRotationQuaternion = new Quaternion().fromAngles(-FastMath.HALF_PI, 0, 0); in AbstractBlenderHelper()
/external/jmonkeyengine/engine/src/test/jme3test/input/
DTestChaseCamera.java69 ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); in simpleInitApp()
DTestCameraNode.java79 ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/water/
DTestSceneWater.java131 water.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/effect/
DTestEverything.java175 signpost.rotate(0, FastMath.HALF_PI, 0); in setupSignpost()
/external/jmonkeyengine/engine/src/test/jme3test/animation/
DTestMotionPath.java84 …motionControl.setRotation(new Quaternion().fromAngleNormalAxis(-FastMath.HALF_PI, Vector3f.UNIT_Y)… in simpleInitApp()
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DSimpleWaterProcessor.java514 geom.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X)); in createWaterGeometry()