Searched refs:fAngle (Results 1 - 9 of 9) sorted by relevance

/external/skia/samplecode/
H A DSampleMegaStroke.cpp17 fAngle = 0;
66 SkScalar x = SkScalarSin(fAngle * SK_ScalarPI / 180) * 200 + 250;
67 SkScalar y = SkScalarCos(fAngle * SK_ScalarPI / 180) * 200 + 250;
70 fAngle += 5;
72 fAngle -= 5;
91 int fAngle; member in class:MegaStrokeView
H A DSampleStringArt.cpp20 StringArtView() : fAngle(0.305f) {}
33 SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI);
61 fAngle = x/width();
67 SkScalar fAngle; member in class:StringArtView
H A DSampleDither.cpp115 SkScalar fAngle; member in class:DitherView
123 fAngle = 0;
161 draw_sweep(canvas, fBM.width(), fBM.height(), fAngle);
163 draw_sweep(canvas, fBM.width()>>1, fBM.height()>>1, fAngle);
165 draw_sweep(canvas, fBM.width()>>2, fBM.height()>>2, fAngle);
167 fAngle += SK_Scalar1/2;
H A DSampleLayers.cpp248 SkScalar fAngle; member in class:BackdropView
254 fAngle = 0;
277 m.setRotate(fAngle);
292 fAngle = SkDoubleToScalar(fmod(timer.secs() * 360 / 5, 360));
H A DSampleFilterQuality.cpp160 AnimValue fScale, fAngle; member in class:FilterQualityView
171 fAngle.setMod(0, 360);
195 case '1': fAngle.inc(-ANGLE_DELTA); this->inval(nullptr); return true;
196 case '2': fAngle.inc( ANGLE_DELTA); this->inval(nullptr); return true;
218 canvas->rotate(fAngle);
298 str.reset(); str.appendScalar(fAngle);
H A DSamplePatch.cpp225 SkScalar fAngle; member in class:PatchView
232 PatchView() : fAngle(0) {
314 m.setRotate(fAngle);
323 fAngle = timer.scaled(60, 360);
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
H A DbtTransformUtil.h56 btScalar fAngle = angvel.length(); local
58 if (fAngle*timeStep > ANGULAR_MOTION_THRESHOLD)
60 fAngle = ANGULAR_MOTION_THRESHOLD / timeStep;
63 if ( fAngle < btScalar(0.001) )
66 axis = angvel*( btScalar(0.5)*timeStep-(timeStep*timeStep*timeStep)*(btScalar(0.020833333333))*fAngle*fAngle );
70 // sync(fAngle) = sin(c*fAngle)/t
71 axis = angvel*( btSin(btScalar(0.5)*fAngle*timeStep)/fAngle );
[all...]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/Featherstone/
H A DbtMultiBody.cpp2009 btScalar fAngle = angvel.length(); local
2011 if (fAngle * dt > ANGULAR_MOTION_THRESHOLD)
2013 fAngle = btScalar(0.5)*SIMD_HALF_PI / dt;
2016 if ( fAngle < btScalar(0.001) )
2019 axis = angvel*( btScalar(0.5)*dt-(dt*dt*dt)*(btScalar(0.020833333333))*fAngle*fAngle );
2023 // sync(fAngle) = sin(c*fAngle)/t
2024 axis = angvel*( btSin(btScalar(0.5)*fAngle*dt)/fAngle );
[all...]
/external/skia/tests/
H A DPathOpsDebug.cpp1117 const SkOpAngle* fAngle = span->fromAngle(); local
1119 if (fAngle) {
1120 SkDebugf(" span=%d from=%d ", span->debugID(), fAngle->debugID());
1121 fAngle->dumpTo(this, tAngle);
1125 tAngle->dumpTo(this, fAngle);

Completed in 1557 milliseconds