Home
last modified time | relevance | path

Searched refs:deg (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/flutter/skia/include/utils/
DSkCamera.h51 void setRotateX(SkScalar deg);
52 void setRotateY(SkScalar deg);
53 void setRotateZ(SkScalar deg);
56 void preRotateX(SkScalar deg);
57 void preRotateY(SkScalar deg);
58 void preRotateZ(SkScalar deg);
128 void rotateX(SkScalar deg);
129 void rotateY(SkScalar deg);
130 void rotateZ(SkScalar deg);
/third_party/flutter/glfw/examples/
Dboing.c117 GLfloat TruncateDeg( GLfloat deg ) in TruncateDeg() argument
119 if ( deg >= 360.f ) in TruncateDeg()
120 return (deg - 360.f); in TruncateDeg()
122 return deg; in TruncateDeg()
129 double deg2rad( double deg ) in deg2rad() argument
131 return deg / 360 * (2 * M_PI); in deg2rad()
137 double sin_deg( double deg ) in sin_deg() argument
139 return sin( deg2rad( deg ) ); in sin_deg()
145 double cos_deg( double deg ) in cos_deg() argument
147 return cos( deg2rad( deg ) ); in cos_deg()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/data/rbnf/
Dcy.txt29 "10: un deg[ >>];",
31 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
52 "10: un deg[ >>];",
54 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
75 "10: un deg[ >>];",
77 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
98 "10: un deg[ >>];",
100 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
/third_party/flutter/skia/src/sksl/
Dsksl_interp.inc21 float radians(float deg) { return deg * 0.0174532925; }
22 float2 radians(float2 deg) { return deg * 0.0174532925; }
23 float3 radians(float3 deg) { return deg * 0.0174532925; }
24 float4 radians(float4 deg) { return deg * 0.0174532925; }
/third_party/icu/icu4c/source/data/rbnf/
Dcy.txt27 "10: un deg[ >>];",
29 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
50 "10: un deg[ >>];",
52 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
73 "10: un deg[ >>];",
75 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
96 "10: un deg[ >>];",
98 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
/third_party/skia/third_party/externals/icu/source/data/rbnf/
Dcy.txt27 "10: un deg[ >>];",
29 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
50 "10: un deg[ >>];",
52 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
73 "10: un deg[ >>];",
75 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
96 "10: un deg[ >>];",
98 "30: <%spellout-cardinal-masculine-before-consonant< deg[ >>];",
/third_party/optimized-routines/math/tools/
Dv_sin.sollya6 deg = 15; // polynomial degree
13 deg = deg-1;
22 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
27 for i from 1 to deg/2 do {
36 for i from 0 to deg do coeff(poly,i);
Dv_log.sollya6 deg = 6; // poly degree
12 deg = deg-1; // because of /x
20 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
25 for i from 1 to deg do {
34 for i from 0 to deg do coeff(poly,i);
Dsin.sollya6 deg = 7; // polynomial degree
13 deg = deg-1;
22 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
27 for i from 1 to deg/2 do {
37 for i from 0 to deg do coeff(poly,i);
Dlog.sollya6 deg = 12; // poly degree
13 deg = deg-1; // because of /x
21 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
26 for i from 1 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dlog2.sollya6 deg = 11; // poly degree
17 deg = deg-1; // because of /x
26 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
31 for i from 1 to deg do {
42 for i from 0 to deg do coeff(poly,i);
Dexp2.sollya7 deg = 3; // poly degree
13 //deg = 5; // poly degree
24 return remez(1 - poly(x)/f(x), deg-d, [a;b], x^d/f(x), 1e-10);
28 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
33 for i from 1 to deg do {
48 for i from 0 to deg do coeff(poly,i);
Dv_exp.sollya6 deg = 4; // poly degree
15 return remez(exp(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
20 for i from 2 to deg do {
30 for i from 0 to deg do coeff(poly,i);
Dcos.sollya6 deg = 8; // polynomial degree
16 return remez(f(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 1 to deg/2 do {
31 for i from 0 to deg do coeff(poly,i);
Dlog_abs.sollya6 deg = 6; // poly degree
16 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 2 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dexp.sollya6 deg = 5; // poly degree
16 return remez(exp(x)-poly(x), deg-d, [a;b], x^d, 1e-10);
21 for i from 2 to deg do {
35 for i from 0 to deg do coeff(poly,i);
Dlog2_abs.sollya6 deg = 7; // poly degree
20 return remez(f(x) - poly(x), deg-d, [a;b], x^d, 1e-10);
25 for i from 2 to deg do {
41 for i from 0 to deg do coeff(poly,i);
/third_party/rust/crates/num-traits/src/
Dfloat.rs2250 for &(deg, rad) in &DEG_RAD_PAIRS { in convert_deg_rad()
2251 assert!((FloatCore::to_degrees(rad) - deg).abs() < 1e-6); in convert_deg_rad()
2252 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad()
2254 let (deg, rad) = (deg as f32, rad as f32); in convert_deg_rad()
2255 assert!((FloatCore::to_degrees(rad) - deg).abs() < 1e-5); in convert_deg_rad()
2256 assert!((FloatCore::to_radians(deg) - rad).abs() < 1e-5); in convert_deg_rad()
2263 for &(deg, rad) in &DEG_RAD_PAIRS { in convert_deg_rad_std()
2266 assert!((Float::to_degrees(rad) - deg).abs() < 1e-6); in convert_deg_rad_std()
2267 assert!((Float::to_radians(deg) - rad).abs() < 1e-6); in convert_deg_rad_std()
2269 let (deg, rad) = (deg as f32, rad as f32); in convert_deg_rad_std()
[all …]
/third_party/skia/src/utils/
DSkCamera.cpp204 void Sk3DView::rotateX(SkScalar deg) { in rotateX() argument
205 fRec->fMatrix.preConcat(SkM44::Rotate({1, 0, 0}, deg * SK_ScalarPI / 180)); in rotateX()
208 void Sk3DView::rotateY(SkScalar deg) { in rotateY() argument
209 fRec->fMatrix.preConcat(SkM44::Rotate({0,-1, 0}, deg * SK_ScalarPI / 180)); in rotateY()
212 void Sk3DView::rotateZ(SkScalar deg) { in rotateZ() argument
213 fRec->fMatrix.preConcat(SkM44::Rotate({0, 0, 1}, deg * SK_ScalarPI / 180)); in rotateZ()
/third_party/skia/include/utils/
DSkCamera.h81 void rotateX(SkScalar deg);
82 void rotateY(SkScalar deg);
83 void rotateZ(SkScalar deg);
/third_party/skia/modules/canvaskit/
Dutil.js12 function degreesToRadians(deg) { argument
13 return (deg / 180) * Math.PI;
/third_party/flutter/skia/gm/
Daddarc.cpp94 for (SkScalar deg = 0; deg < 360; deg += 10) { variable
95 const SkScalar rad = SkDegreesToRadians(deg);
102 path.addArc(oval, 0, deg);
/third_party/skia/gm/
Daddarc.cpp94 for (SkScalar deg = 0; deg < 360; deg += 10) { variable
95 const SkScalar rad = SkDegreesToRadians(deg);
101 SkPathMeasure meas(SkPathBuilder().addArc(oval, 0, deg).detach(), false);
/third_party/weex-loader/deps/weex-styler/
DREADME.md87 var code = 'html {color: #000000;} .foo {color: red; -webkit-transform: rotate(90deg); width: 200px…
94 // {foo: {color: '#ff0000', webkitTransform: 'rotate(90deg)', width: 200}}
107 webkitTransform: 'rotate(90deg)',
116 // {foo: {color: '#ff0000', webkitTransform: 'rotate(90deg)', width: 200}}
/third_party/flutter/skia/src/utils/
DSkCamera.cpp365 void Sk3DView::rotateX(SkScalar deg) { in rotateX() argument
366 fRec->fMatrix.preRotateX(deg); in rotateX()
369 void Sk3DView::rotateY(SkScalar deg) { in rotateY() argument
370 fRec->fMatrix.preRotateY(deg); in rotateY()
373 void Sk3DView::rotateZ(SkScalar deg) { in rotateZ() argument
374 fRec->fMatrix.preRotateZ(deg); in rotateZ()

12345