Searched refs:theta (Results 1 - 25 of 34) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
H A Dswim.c48 glRotatef(fish->theta, 1.0, 0.0, 0.0);
57 fish->theta = 0.0;
60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
62 fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD);
79 thetal = fish->theta;
83 if (ttheta > fish->theta + 0.25) {
84 fish->theta += 0.5;
85 } else if (ttheta < fish->theta - 0.25) {
86 fish->theta
[all...]
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
H A Datlantis.c116 dolph.theta = 0.0;
123 momWhale.theta = 0.0;
130 babyWhale.theta = 0.0;
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
H A Dswim.c48 glRotatef(fish->theta, 1.0, 0.0, 0.0);
57 fish->theta = 0.0;
60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
62 fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD);
79 thetal = fish->theta;
83 if (ttheta > fish->theta + 0.25) {
84 fish->theta += 0.5;
85 } else if (ttheta < fish->theta - 0.25) {
86 fish->theta
[all...]
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
H A Datlantis.c116 dolph.theta = 0.0;
123 momWhale.theta = 0.0;
130 babyWhale.theta = 0.0;
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
H A Dswim.c48 glRotatef(fish->theta, 1.0, 0.0, 0.0);
57 fish->theta = 0.0;
60 fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
61 fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
62 fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD);
79 thetal = fish->theta;
83 if (ttheta > fish->theta + 0.25) {
84 fish->theta += 0.5;
85 } else if (ttheta < fish->theta - 0.25) {
86 fish->theta
[all...]
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
H A Datlantis.c116 dolph.theta = 0.0;
123 momWhale.theta = 0.0;
130 babyWhale.theta = 0.0;
/external/valgrind/main/none/tests/amd64/
H A Dbug132918.c44 double theta; local
50 theta = (2.0 * 3.14159) / 10.0 * (double)i;
51 do_fprem(&r, 12.3*sin(theta), cos(theta)); show("xx", &r);
/external/freetype/src/base/
H A Dfttrigon.c187 FT_Angle theta )
198 while ( theta <= -FT_ANGLE_PI2 )
202 theta += FT_ANGLE_PI;
205 while ( theta > FT_ANGLE_PI2 )
209 theta -= FT_ANGLE_PI;
215 if ( theta < 0 )
220 theta += *arctanptr++;
227 theta -= *arctanptr++;
234 if ( theta < 0 )
239 theta
258 FT_Fixed theta; local
[all...]
H A Dftstroke.c103 FT_Angle theta; local
142 theta = ft_pos_abs( FT_Angle_Diff( *angle_in, *angle_out ) );
144 return FT_BOOL( theta < FT_SMALL_CONIC_THRESHOLD );
531 FT_Angle total, angle, step, rotate, next, theta; local
556 theta = step;
557 if ( theta < 0 )
558 theta = -theta;
560 theta >>= 1;
568 length = FT_MulDiv( radius, FT_Sin( theta ) *
983 FT_Angle phi, theta, rotate; local
1055 FT_Angle theta = 0, phi = 0; local
1434 FT_Angle theta, phi, rotate, alpha0 = 0; local
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DPQTorus.java150 float r, x, y, z, theta = 0.0f, beta = 0.0f;
155 theta += thetaStep;
159 r = (0.5f * (2.0f + FastMath.sin(q * theta)) * radius);
160 x = (r * FastMath.cos(p * theta) * radius);
161 y = (r * FastMath.sin(p * theta) * radius);
162 z = (r * FastMath.cos(q * theta) * radius);
166 r = (0.5f * (2.0f + FastMath.sin(q * (theta + 0.01f))) * radius);
167 x = (r * FastMath.cos(p * (theta + 0.01f)) * radius);
168 y = (r * FastMath.sin(p * (theta + 0.01f)) * radius);
169 z = (r * FastMath.cos(q * (theta
[all...]
H A DTorus.java138 float theta = FastMath.TWO_PI * circleFraction;
139 float cosTheta = FastMath.cos(theta);
140 float sinTheta = FastMath.sin(theta);
/external/webkit/Source/WebCore/platform/audio/
H A DBiquad.cpp199 double theta = piDouble * cutoff;
200 double sn = 0.5 * d * sin(theta);
202 double gamma = (0.5 + beta) * cos(theta);
220 double theta = piDouble * cutoff;
221 double sn = 0.5 * d * sin(theta);
223 double gamma = (0.5 + beta) * cos(theta);
235 double theta = piDouble * cutoff;
239 double alpha = 0.5 * sin(theta) * sqrt((A + 1.0 / A) * (1.0 / S - 1.0) + 2.0);
241 double k = cos(theta);
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DRing.java190 + FastMath.nextRandomFloat() * (outer2 - inner2)), theta = FastMath
199 result.set(b1).multLocal(r * FastMath.cos(theta)).addLocal(center);
200 result.scaleAdd(r * FastMath.sin(theta), b2, result);
H A DQuaternion.java656 float theta = FastMath.acos(result);
657 float invSinTheta = 1f / FastMath.sin(theta);
661 scale0 = FastMath.sin((1 - t) * theta) * invSinTheta;
662 scale1 = FastMath.sin((t * theta)) * invSinTheta;
713 float theta = FastMath.acos(result);
714 float invSinTheta = 1f / FastMath.sin(theta);
718 scale0 = FastMath.sin((1 - changeAmnt) * theta) * invSinTheta;
719 scale1 = FastMath.sin((changeAmnt * theta)) * invSinTheta;
/external/opencv/cv/src/
H A Dcvcamshift.cpp175 double theta = 0, square; local
235 theta = atan2( 2 * b, a - c + square );
238 cs = cos( theta );
239 sn = sin( theta );
253 theta = CV_PI*0.5 - theta;
292 box->angle = (float)(theta*180./CV_PI);
H A Dcvhough.cpp78 rho and theta are discretization steps (in pixels and radians correspondingly).
81 array of (rho, theta) pairs. linesMax is the buffer size (number of pairs).
85 icvHoughLinesStandard( const CvMat* img, float rho, float theta, argument
114 numangle = cvRound(CV_PI / theta);
123 for( ang = 0, n = 0; n < numangle; ang += theta, n++ )
166 line.angle = n * theta;
192 float rho, float theta, int threshold,
211 int rn, tn; /* number of rho and theta discrete values */
215 float r, t; /* Current rho and theta */
238 CV_ASSERT( linesMax > 0 && rho > 0 && theta >
191 icvHoughLinesSDiv( const CvMat* img, float rho, float theta, int threshold, int srn, int stn, CvSeq* lines, int linesMax ) argument
483 icvHoughLinesProbabalistic( CvMat* image, float rho, float theta, int threshold, int lineLength, int lineGap, CvSeq *lines, int linesMax ) argument
740 cvHoughLines2( CvArr* src_image, void* lineStorage, int method, double rho, double theta, int threshold, double param1, double param2 ) argument
[all...]
/external/srec/srec/clib/
H A Djacobi.c128 double theta = 0.5 * h / a[i][j]; local
129 t = 1.0 / (fabs(theta) + sqrt(1.0 + theta * theta));
130 if (theta < 0.0) t = -t;
/external/clang/test/CodeGenCXX/
H A Dmangle-ms.cpp134 void theta(theta_arg^ block) {}
135 // CHECK: @"\01?theta@@YAXP_EAHHH@Z@Z"
/external/valgrind/main/perf/
H A Dffbench.c176 double theta, wi, wpi, wpr, wr, wtemp; local
209 theta = isign * 6.28318530717959 / (ifp2 / ip1);
210 wtemp = sin(0.5 * theta);
212 wpi = sin(theta);
/external/quake/quake/src/QW/dxsdk/sdk/inc/
H A Dd3drmdef.h352 * Set the rotation part of a matrix to be a rotation of theta radians
356 extern LPD3DVECTOR D3DRMAPI D3DRMVectorRotate(LPD3DVECTOR r, LPD3DVECTOR v, LPD3DVECTOR axis, D3DVALUE theta);
369 * Returns a unit quaternion that represents a rotation of theta radians
375 D3DVALUE theta);
/external/quake/quake/src/WinQuake/dxsdk/SDK/INC/
H A DD3DRMDEF.H352 * Set the rotation part of a matrix to be a rotation of theta radians
356 extern LPD3DVECTOR D3DRMAPI D3DRMVectorRotate(LPD3DVECTOR r, LPD3DVECTOR v, LPD3DVECTOR axis, D3DVALUE theta);
369 * Returns a unit quaternion that represents a rotation of theta radians
375 D3DVALUE theta);
/external/proguard/src/proguard/gui/splash/
H A DOverrideGraphics2D.java524 public void rotate(double theta) argument
526 graphics.rotate(theta);
529 public void rotate(double theta, double x, double y) argument
531 graphics.rotate(theta, x, y);

Completed in 1120 milliseconds

12