HomeSort by relevance Sort by last modified time
    Searched full:theta (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
swim.c 48 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 -= 0.5
    [all...]
  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
swim.c 48 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 -= 0.5
    [all...]
  /external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
swim.c 48 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 -= 0.5
    [all...]
  /external/valgrind/main/none/tests/amd64/
bug132918.c 44 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/
fttrigon.c 187 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 += *arctanptr++
258 FT_Fixed theta; local
    [all...]
  /external/llvm/test/CodeGen/X86/
legalize-libcalls.ll 6 define float @MakeSphere(float %theta.079) nounwind {
8 %add36 = fadd float %theta.079, undef
9 %call = call float @cosf(float %theta.079) nounwind readnone
10 %call45 = call float @sinf(float %theta.079) nounwind readnone
2011-02-23-UnfoldBug.ll 10 %theta.0.ph = phi <2 x double> [ undef, %entry ], [ %theta.1, %if.end71 ]
11 %mul.i97 = fmul <2 x double> %theta.0.ph, undef
33 %theta.1 = phi <2 x double> [ %vecins.i91, %if.then67 ], [ %theta.0.ph, %for.end ]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
BlackWhiteFilter.java 59 // Compute sin(theta), theta = 12.9898 x + 78.233y
60 // because floating point has limited range, make theta = theta1 + theta2
62 // Note that theta1 and theta2 cover diffent range of theta.
65 // Use the property sin(theta) = cos(theta1)*sin(theta2)+sin(theta1)*cos(theta2)
66 // this approach also increases the precisions of sin(theta)
70 // fract(43758 * sin(theta)) = mod(221 * mod(198*sin(theta), 1.0), 1.0)
72 // mod(mod(198*sin(theta)) = mod(mod(197*sin(theta) + sin(theta)
    [all...]
  /packages/apps/Gallery2/jni/filters/
tinyplanet.cc 109 float theta = angle+atan2(yf, xf); local
110 if (theta>PI_F) theta-=2*PI_F;
114 // (theta stays the same)
117 float px = (theta / (2 * PI_F)) * input_width;
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
PQTorus.java 150 float r, x, y, z, theta = 0.0f, beta = 0.0f; local
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 + 0.01f)) * radius)
    [all...]
  /external/webkit/Source/WebCore/platform/audio/
Biquad.cpp 199 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);
  /packages/apps/Camera/jni/feature_stab/db_vlvm/
db_utilities_camera.h 259 [s 0][ cos(theta) sin(theta)]
260 [0 s][-sin(theta) cos(theta)]
274 [s 0][ cos(theta) sin(theta)]
275 [0 s][-sin(theta) cos(theta)]
278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta)
283 c=cos(theta);
    [all...]
  /packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
db_utilities_camera.h 259 [s 0][ cos(theta) sin(theta)]
260 [0 s][-sin(theta) cos(theta)]
274 [s 0][ cos(theta) sin(theta)]
275 [0 s][-sin(theta) cos(theta)]
278 inline void db_MultiplyRotationOntoImageHomography(double H[9],double theta)
283 c=cos(theta);
    [all...]
  /external/opencv/cv/src/
cvhough.cpp 78 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,
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 > 0 )
    [all...]
cvcamshift.cpp 175 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);
  /hardware/libhardware/include/hardware/
sensors.h 257 * theta around an axis <x, y, z>. The three elements of the rotation vector
258 * are <x*sin(theta/2), y*sin(theta/2), z*sin(theta/2)>, such that the magnitude
259 * of the rotation vector is equal to sin(theta/2), and the direction of the
262 * unit quaternion <cos(theta/2), x*sin(theta/2), y*sin(theta/2), z*sin(theta/2)>.
280 * sensors_event_t.data[0] = x*sin(theta/2
    [all...]
  /bionic/libm/man/
atan2.3 118 (r,theta)
123 r\(**cos theta
128 r\(**sin theta.
134 (r=0,theta=0).
142 theta := atan2(y,x).
  /frameworks/wilhelm/src/itf/
I3DLocation.c 213 static SLresult I3DLocation_Rotate(SL3DLocationItf self, SLmillidegree theta, const SLVec3D *pAxis)
217 if (!((-360000 <= theta) && (theta <= 360000)) || (NULL == pAxis)) {
230 thiz->mTheta = theta;
I3DMacroscopic.c 122 SLmillidegree theta, const SLVec3D *pAxis)
126 if (!((-360000 <= theta) && (theta <= 360000)) || NULL == pAxis) {
135 thiz->mTheta = theta;
  /external/srec/srec/clib/
jacobi.c 128 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;
  /frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
sparse_weight_vector.cpp 289 const double theta = abs_val_vec[curr_l0_norm - req_l0_norm]; local
294 if ((fabs(iter->second/normalizer_) - theta) < 0) {
327 double theta = 0; local
333 theta = (cum_sum - l1_norm)/curr_index;
334 if (((*val_iter) - theta) <= 0) {
345 (fabs(iter->second/normalizer_) - theta),
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/
legendre_function.tcc 189 * and @f$ \theta @f$ is defined as @f$ Y_l^m(\theta,0) @f$ where
191 * Y_l^m(\theta,\phi) = (-1)^m[\frac{(2l+1)}{4\pi}
193 * P_l^m(\cos\theta) \exp^{im\phi}
199 * argument (@f$x = \cos(\theta)@f$) and by a normalization factor
208 * @param theta The radian angle argument of the spherical associated
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/
legendre_function.tcc 189 * and @f$ \theta @f$ is defined as @f$ Y_l^m(\theta,0) @f$ where
191 * Y_l^m(\theta,\phi) = (-1)^m[\frac{(2l+1)}{4\pi}
193 * P_l^m(\cos\theta) \exp^{im\phi}
199 * argument (@f$x = \cos(\theta)@f$) and by a normalization factor
208 * @param theta The radian angle argument of the spherical associated
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/
legendre_function.tcc 189 * and @f$ \theta @f$ is defined as @f$ Y_l^m(\theta,0) @f$ where
191 * Y_l^m(\theta,\phi) = (-1)^m[\frac{(2l+1)}{4\pi}
193 * P_l^m(\cos\theta) \exp^{im\phi}
199 * argument (@f$x = \cos(\theta)@f$) and by a normalization factor
208 * @param theta The radian angle argument of the spherical associated
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/
legendre_function.tcc 189 * and @f$ \theta @f$ is defined as @f$ Y_l^m(\theta,0) @f$ where
191 * Y_l^m(\theta,\phi) = (-1)^m[\frac{(2l+1)}{4\pi}
193 * P_l^m(\cos\theta) \exp^{im\phi}
199 * argument (@f$x = \cos(\theta)@f$) and by a normalization factor
208 * @param theta The radian angle argument of the spherical associated

Completed in 603 milliseconds

1 2 3 4 5 6