Home
last modified time | relevance | path

Searched refs:radians (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/include/core/
DSkScalar.h194 float SkScalarSinCos(SkScalar radians, SkScalar* cosValue);
195 #define SkScalarSin(radians) (float)sk_float_sin(radians) argument
196 #define SkScalarCos(radians) (float)sk_float_cos(radians) argument
197 #define SkScalarTan(radians) (float)sk_float_tan(radians) argument
268 #define SkScalarSinCos(radians, cosPtr) SkFixedSinCos(radians, cosPtr) argument
269 #define SkScalarSin(radians) SkFixedSin(radians) argument
270 #define SkScalarCos(radians) SkFixedCos(radians) argument
DSkFixed.h142 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValueOrNull);
143 #define SkFixedSin(radians) SkFixedSinCos(radians, NULL) argument
144 inline SkFixed SkFixedCos(SkFixed radians) in SkFixedCos() argument
147 (void)SkFixedSinCos(radians, &cosValue); in SkFixedCos()
150 SkFixed SkFixedTan(SkFixed radians);
/external/skia/src/core/
DSkMath.cpp400 float SkScalarSinCos(float radians, float* cosValue) { in SkScalarSinCos() argument
401 float sinValue = sk_float_sin(radians); in SkScalarSinCos()
404 *cosValue = sk_float_cos(radians); in SkScalarSinCos()
456 SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) { in SkFixedSinCos() argument
470 int32_t sinSign = SkExtractSign(radians); in SkFixedSinCos()
471 radians = SkApplySign(radians, sinSign); in SkFixedSinCos()
475 radians = SkMulDiv(radians, 2 * kTableSize * 256, SK_FixedPI); in SkFixedSinCos()
476 int findex = radians & (kTableSize * 256 - 1); in SkFixedSinCos()
486 int quad = ((unsigned)radians / (kTableSize * 256)) & 3; in SkFixedSinCos()
488 radians = SkMulDiv(radians, 2 * kTableSize, SK_FixedPI); in SkFixedSinCos()
[all …]
DSkCordic.h21 SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp);
DSkCordic.cpp49 SkFixed SkCordicSinCos(SkFixed radians, SkFixed* cosp) in SkCordicSinCos() argument
51 int32_t scaledRadians = radians * 0x28be; // scale radians to 65536 / PI() in SkCordicSinCos()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DFastMath.java494 public static float reduceSinAngle(float radians) { in reduceSinAngle() argument
495 radians %= TWO_PI; // put us in -2PI to +2PI space in reduceSinAngle()
496 if (Math.abs(radians) > PI) { // put us in -PI to +PI space in reduceSinAngle()
497 radians = radians - (TWO_PI); in reduceSinAngle()
499 if (Math.abs(radians) > HALF_PI) {// put us in -PI/2 to +PI/2 space in reduceSinAngle()
500 radians = PI - radians; in reduceSinAngle()
503 return radians; in reduceSinAngle()
/external/mesa3d/src/glsl/builtins/profiles/
D100.vert5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D100.frag5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D110.vert5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D110.frag5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D120.frag5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D120.vert5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D130.frag5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
D130.vert5 float radians(float degrees);
6 vec2 radians(vec2 degrees);
7 vec3 radians(vec3 degrees);
8 vec4 radians(vec4 degrees);
10 float degrees(float radians);
11 vec2 degrees(vec2 radians);
12 vec3 degrees(vec3 radians);
13 vec4 degrees(vec4 radians);
/external/skia/src/utils/
DSkMatrix44.cpp163 SkMScalar radians) { in setRotateAbout() argument
175 this->setRotateAboutUnit(x, y, z, radians); in setRotateAbout()
179 SkMScalar radians) { in setRotateAboutUnit() argument
180 double c = cos(radians); in setRotateAboutUnit()
181 double s = sin(radians); in setRotateAboutUnit()
/external/mesa3d/src/glsl/builtins/ir/
Dradians1 ((function radians
/external/skia/include/utils/
DSkMatrix44.h173 SkMScalar radians);
178 SkMScalar radians);
/external/webkit/Source/WebCore/platform/graphics/openvg/
DGraphicsContextOpenVG.cpp404 void GraphicsContext::rotate(float radians) in rotate() argument
409 m_data->rotate(radians); in rotate()
DPainterOpenVG.h112 void rotate(float radians);
DPainterOpenVG.cpp697 void PainterOpenVG::rotate(float radians) in rotate() argument
703 transformation.rotate(rad2deg(radians)); in rotate()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DGraphicsContextCairo.cpp1083 void GraphicsContext::rotate(float radians) in rotate() argument
1088 cairo_rotate(platformContext()->cr(), radians); in rotate()
1089 m_data->rotate(radians); in rotate()
/external/webkit/Source/WebCore/platform/graphics/haiku/
DGraphicsContextHaiku.cpp406 void GraphicsContext::rotate(float radians) in rotate() argument
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp204 void rotate(float radians) in rotate() argument
206 m_transform.rotate(rad2deg(radians)); in rotate()
1157 void GraphicsContext::rotate(float radians) in rotate() argument
1159 m_data->rotate(radians); in rotate()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp1152 void GraphicsContext::rotate(float radians) in rotate() argument
1157 m_data->p()->rotate(rad2deg(qreal(radians))); in rotate()
/external/webkit/Source/WebCore/
DChangeLog-2007-10-1433983 (WebCore::AffineTransform::rotate): Convert from degrees to radians to
33987 (WebCore::GraphicsContext::rotate): Rename parameter to "radians" to

12