OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cos_angle
(Results
1 - 5
of
5
) sorted by null
/external/eigen/demos/opengl/
trackball.cpp
25
float
cos_angle
= mLastPoint3D.dot(newPoint3D);
local
26
if ( internal::abs(
cos_angle
) < 1.0 )
28
float angle = 2. * acos(
cos_angle
);
/external/chromium_org/mojo/examples/sample_app/
spinning_cube.cc
250
GLfloat
cos_angle
= cosf(angle * kPi / 180.0f);
local
269
one_minus_cos = 1.0f -
cos_angle
;
271
rotation.m[0][0] = (one_minus_cos * xx) +
cos_angle
;
277
rotation.m[1][1] = (one_minus_cos * yy) +
cos_angle
;
283
rotation.m[2][2] = (one_minus_cos * zz) +
cos_angle
;
/external/chromium_org/ppapi/examples/compositor/
spinning_cube.cc
233
GLfloat
cos_angle
= cosf(angle * kPi / 180.0f);
local
252
one_minus_cos = 1.0f -
cos_angle
;
254
rotation.m[0][0] = (one_minus_cos * xx) +
cos_angle
;
260
rotation.m[1][1] = (one_minus_cos * yy) +
cos_angle
;
266
rotation.m[2][2] = (one_minus_cos * zz) +
cos_angle
;
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
spinning_cube.cc
249
GLfloat
cos_angle
= cosf(angle * kPi / 180.0f);
local
268
one_minus_cos = 1.0f -
cos_angle
;
270
rotation.m[0][0] = (one_minus_cos * xx) +
cos_angle
;
276
rotation.m[1][1] = (one_minus_cos * yy) +
cos_angle
;
282
rotation.m[2][2] = (one_minus_cos * zz) +
cos_angle
;
/external/qemu/android/
hw-sensors.c
643
const double
cos_angle
= cos(angle/M_PI);
local
648
_hwSensors_setSensorValue( h, ANDROID_SENSOR_ACCELERATION, 0., g*
cos_angle
, g*sin_angle );
652
_hwSensors_setSensorValue( h, ANDROID_SENSOR_ACCELERATION, g*
cos_angle
, 0., g*sin_angle );
Completed in 988 milliseconds