Home
last modified time | relevance | path

Searched refs:degreesToRadians (Results 1 – 16 of 16) sorted by relevance

/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
DSphereShapeBuilder.java54 final float auo = MathUtils.degreesToRadians * angleUFrom; in build()
55 final float stepU = (MathUtils.degreesToRadians * (angleUTo - angleUFrom)) / divisionsU; in build()
56 final float avo = MathUtils.degreesToRadians * angleVFrom; in build()
57 final float stepV = (MathUtils.degreesToRadians * (angleVTo - angleVFrom)) / divisionsV; in build()
DConeShapeBuilder.java44 final float ao = MathUtils.degreesToRadians * angleFrom; in build()
45 final float step = (MathUtils.degreesToRadians * (angleTo - angleFrom)) / divisions; in build()
DCylinderShapeBuilder.java43 final float ao = MathUtils.degreesToRadians * angleFrom; in build()
44 final float step = (MathUtils.degreesToRadians * (angleTo - angleFrom)) / divisions; in build()
DEllipseShapeBuilder.java178 final float ao = MathUtils.degreesToRadians * angleFrom; in build()
179 final float step = (MathUtils.degreesToRadians * (angleTo - angleFrom)) / divisions; in build()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DAffine2Test.java34 float cos = (float)Math.cos(MathUtils.degreesToRadians * rot); in create()
35 float sin = (float)Math.sin(MathUtils.degreesToRadians * rot); in create()
67 mat1.setToRotationRad(MathUtils.degreesToRadians * rot); in create()
69 afn1.setToRotationRad(MathUtils.degreesToRadians * rot); in create()
78 afn2.setToTrnRotRadScl(trn, MathUtils.degreesToRadians * rot, scl); in create()
DCpuSpriteBatchTest.java103 setScale(0.9f + 0.2f * MathUtils.cos(MathUtils.degreesToRadians * getRotation())); in createActorGroup()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DMathUtils.java48 static public final float degreesToRadians = PI / 180; field in MathUtils
49 static public final float degRad = degreesToRadians;
58 table[(int)(i * degToIndex) & SIN_MASK] = (float)Math.sin(i * degreesToRadians);
DQuaternion.java122 …return setEulerAnglesRad(yaw * MathUtils.degreesToRadians, pitch * MathUtils.degreesToRadians, roll in setEulerAngles()
123 * MathUtils.degreesToRadians); in setEulerAngles()
411 return setFromAxisRad(x, y, z, degrees * MathUtils.degreesToRadians); in setFromAxis()
DVector2.java348 return setAngleRad(degrees * MathUtils.degreesToRadians); in setAngle()
363 return rotateRad(degrees * MathUtils.degreesToRadians); in rotate()
DMatrix3.java147 return setToRotationRad(MathUtils.degreesToRadians * degrees); in setToRotation()
449 return rotateRad(MathUtils.degreesToRadians * degrees); in rotate()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/
DActor.java769 final float cos = (float)Math.cos(rotation * MathUtils.degreesToRadians); in localToParentCoordinates()
770 final float sin = (float)Math.sin(rotation * MathUtils.degreesToRadians); in localToParentCoordinates()
810 final float cos = (float)Math.cos(rotation * MathUtils.degreesToRadians); in parentToLocalCoordinates()
811 final float sin = (float)Math.sin(rotation * MathUtils.degreesToRadians); in parentToLocalCoordinates()
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DVehicleTest.java141 vehicle.setSteeringValue(angle * MathUtils.degreesToRadians, 0); in update()
142 vehicle.setSteeringValue(angle * MathUtils.degreesToRadians, 1); in update()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/influencers/
DDynamicsModifier.java276 TMP_V3.scl(strength*MathUtils.degreesToRadians); in update()
/external/vulkan-validation-layers/demos/
Dlinmath.h34 #define degreesToRadians(angleDegrees) (angleDegrees * M_PI / 180.0) macro
Dcube.c662 (float)degreesToRadians(demo->spin_angle)); in demo_update_data_buffer()
2711 mat4x4_perspective(demo->projection_matrix, (float)degreesToRadians(45.0f), in demo_init()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/
DShapeRenderer.java794 float cx = radius * MathUtils.cos(start * MathUtils.degreesToRadians); in arc()
795 float cy = radius * MathUtils.sin(start * MathUtils.degreesToRadians); in arc()