Searched refs:degreesToRadians (Results 1 – 16 of 16) sorted by relevance
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/ |
D | SphereShapeBuilder.java | 54 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()
|
D | ConeShapeBuilder.java | 44 final float ao = MathUtils.degreesToRadians * angleFrom; in build() 45 final float step = (MathUtils.degreesToRadians * (angleTo - angleFrom)) / divisions; in build()
|
D | CylinderShapeBuilder.java | 43 final float ao = MathUtils.degreesToRadians * angleFrom; in build() 44 final float step = (MathUtils.degreesToRadians * (angleTo - angleFrom)) / divisions; in build()
|
D | EllipseShapeBuilder.java | 178 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/ |
D | Affine2Test.java | 34 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()
|
D | CpuSpriteBatchTest.java | 103 setScale(0.9f + 0.2f * MathUtils.cos(MathUtils.degreesToRadians * getRotation())); in createActorGroup()
|
/external/libgdx/gdx/src/com/badlogic/gdx/math/ |
D | MathUtils.java | 48 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);
|
D | Quaternion.java | 122 …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()
|
D | Vector2.java | 348 return setAngleRad(degrees * MathUtils.degreesToRadians); in setAngle() 363 return rotateRad(degrees * MathUtils.degreesToRadians); in rotate()
|
D | Matrix3.java | 147 return setToRotationRad(MathUtils.degreesToRadians * degrees); in setToRotation() 449 return rotateRad(MathUtils.degreesToRadians * degrees); in rotate()
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ |
D | Actor.java | 769 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/ |
D | VehicleTest.java | 141 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/ |
D | DynamicsModifier.java | 276 TMP_V3.scl(strength*MathUtils.degreesToRadians); in update()
|
/external/vulkan-validation-layers/demos/ |
D | linmath.h | 34 #define degreesToRadians(angleDegrees) (angleDegrees * M_PI / 180.0) macro
|
D | cube.c | 662 (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/ |
D | ShapeRenderer.java | 794 float cx = radius * MathUtils.cos(start * MathUtils.degreesToRadians); in arc() 795 float cy = radius * MathUtils.sin(start * MathUtils.degreesToRadians); in arc()
|