Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 25 of 89) sorted by relevance

1234

/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Drotate_vector.inl14 // get cosine of angle between vectors (-1 -> 1)
16 // get angle (0 -> pi)
18 // get sine of angle between vectors (0 -> 1)
32 T const & angle argument
36 T const Cos(cos(angle));
37 T const Sin(sin(angle));
48 T const & angle, argument
52 return tmat3x3<T, P>(glm::rotate(angle, normal)) * v;
58 T angle,
61 const T Cos = cos(radians(angle));
[all …]
Dfast_trigonometry.hpp30 GLM_FUNC_DECL T wrapAngle(T angle);
35 GLM_FUNC_DECL T fastSin(T angle);
40 GLM_FUNC_DECL T fastCos(T angle);
46 GLM_FUNC_DECL T fastTan(T angle);
52 GLM_FUNC_DECL T fastAsin(T angle);
58 GLM_FUNC_DECL T fastAcos(T angle);
70 GLM_FUNC_DECL T fastAtan(T angle);
Drotate_vector.hpp47 T const & angle);
54 T const & angle,
62 T const & angle,
70 T const & angle);
77 T const & angle);
84 T const & angle);
91 T const & angle);
98 T const & angle);
105 T const & angle);
Dfast_trigonometry.inl33 GLM_FUNC_QUALIFIER T wrapAngle(T angle) argument
35 return abs<T>(mod<T>(angle, two_pi<T>()));
48 T const angle(wrapAngle<T>(x)); local
50 if(angle < half_pi<T>())
51 return detail::cos_52s(angle);
52 if(angle < pi<T>())
53 return -detail::cos_52s(pi<T>() - angle);
54 if(angle < (T(3) * half_pi<T>()))
55 return -detail::cos_52s(angle - pi<T>());
57 return detail::cos_52s(two_pi<T>() - angle);
Dvector_angle.inl7 GLM_FUNC_QUALIFIER genType angle function
13 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'angle' only accept floating-point inp…
18 GLM_FUNC_QUALIFIER T angle function
24 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'angle' only accept floating-point inputs");
Dmatrix_interpolation.inl11 T & angle argument
21 angle = (T)0.0;
27 angle = static_cast<T>(3.1415926535897932384626433832795);
75 angle = acos((mat[0][0] + mat[1][1] + mat[2][2] - (T)1.0) / (T)2.0);
85 T const angle argument
88 T c = cos(angle);
89 T s = sin(angle);
Dsimd_quat.inl429 float angle = glm::acos(cosTheta); local
432 float s0 = glm::sin((1.0f - a) * angle);
433 float s1 = glm::sin(a * angle);
434 float d = 1.0f / glm::sin(angle);
473 …// Perform a linear interpolation when cosTheta is close to 1 to avoid side effect of sin(angle) b…
480 float angle = glm::acos(cosTheta); local
483 float s0 = glm::sin((1.0f - a) * angle);
484 float s1 = glm::sin(a * angle);
485 float d = 1.0f / glm::sin(angle);
507 float angle = glm::fastAcos(cosTheta); local
[all …]
Drotate_normalized_axis.inl10 T const & angle, argument
14 T const a = angle;
47 T const & angle, argument
53 T const AngleRad(angle);
Drotate_normalized_axis.hpp45 T const & angle,
58 T const & angle,
Dmatrix_interpolation.hpp34 T & angle);
41 T const angle);
Deuler_angles.hpp71 T const & angle,
115 GLM_FUNC_DECL tmat2x2<T, defaultp> orientate2(T const & angle);
120 GLM_FUNC_DECL tmat3x3<T, defaultp> orientate3(T const & angle);
Dtransform.inl13 GLM_FUNC_QUALIFIER tmat4x4<T, P> rotate(T angle, tvec3<T, P> const & v) argument
15 return rotate(tmat4x4<T, P>(static_cast<T>(1)), angle, v);
Dmatrix_transform_2d.inl24 T angle) argument
26 T const a = angle;
Deuler_angles.inl242 T const & angle argument
245 T c = glm::cos(angle);
246 T s = glm::sin(angle);
259 T const & angle argument
262 T c = glm::cos(angle);
263 T s = glm::sin(angle);
/hardware/google/gfxstream/common/opengl/include/EGL/
DPlatform.h36 namespace angle
151 using AddTraceEventFunc = angle::TraceEventHandle (*)(PlatformMethods *platform,
162 inline angle::TraceEventHandle DefaultAddTraceEvent(PlatformMethods *platform, in DefaultAddTraceEvent()
181 angle::TraceEventHandle eventHandle);
185 angle::TraceEventHandle eventHandle) in DefaultUpdateTraceEventDuration()
231 angle::WorkaroundsD3D *workaroundsD3D);
233 angle::WorkaroundsD3D *workaroundsD3D) in DefaultOverrideWorkaroundsD3D()
238 angle::FeaturesVk *workaroundsVulkan);
240 angle::FeaturesVk *workaroundsVulkan) in DefaultOverrideFeaturesVk()
313 ANGLE_PLATFORM_EXPORT bool ANGLE_APIENTRY ANGLEGetDisplayPlatform(angle::EGLDisplayType display,
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dreciprocal.hpp34 GLM_FUNC_DECL genType sec(genType angle);
43 GLM_FUNC_DECL genType csc(genType angle);
52 GLM_FUNC_DECL genType cot(genType angle);
87 GLM_FUNC_DECL genType sech(genType angle);
95 GLM_FUNC_DECL genType csch(genType angle);
103 GLM_FUNC_DECL genType coth(genType angle);
Dreciprocal.inl11 GLM_FUNC_QUALIFIER genType sec(genType angle) argument
14 return genType(1) / glm::cos(angle);
26 GLM_FUNC_QUALIFIER genType csc(genType angle) argument
29 return genType(1) / glm::sin(angle);
41 GLM_FUNC_QUALIFIER genType cot(genType angle) argument
46 return glm::tan(pi_over_2 - angle);
105 GLM_FUNC_QUALIFIER genType sech(genType angle) argument
108 return genType(1) / glm::cosh(angle);
120 GLM_FUNC_QUALIFIER genType csch(genType angle) argument
123 return genType(1) / glm::sinh(angle);
[all …]
Dquaternion.inl398 // (x * sin(1 - a) * angle / sin(angle)) + (y * sin(a) * angle / sin(angle))
479 …// Perform a linear interpolation when cosTheta is close to 1 to avoid side effect of sin(angle) b…
492 T angle = acos(cosTheta); local
493 return (sin((T(1) - a) * angle) * x + sin(a * angle) * y) / sin(angle);
522 …// Perform a linear interpolation when cosTheta is close to 1 to avoid side effect of sin(angle) b…
535 T angle = acos(cosTheta); local
536 return (sin((T(1) - a) * angle) * x + sin(a * angle) * z) / sin(angle);
541 …GLM_FUNC_QUALIFIER tquat<T, P> rotate(tquat<T, P> const & q, T const & angle, tvec3<T, P> const & … argument
555 T const AngleRad(angle);
691 GLM_FUNC_QUALIFIER T angle(tquat<T, P> const & x) function
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_trigonometric.hpp51 GLM_FUNC_DECL vecType<T, P> sin(vecType<T, P> const & angle);
61 GLM_FUNC_DECL vecType<T, P> cos(vecType<T, P> const & angle);
70 GLM_FUNC_DECL vecType<T, P> tan(vecType<T, P> const & angle);
124 GLM_FUNC_DECL vecType<T, P> sinh(vecType<T, P> const & angle);
133 GLM_FUNC_DECL vecType<T, P> cosh(vecType<T, P> const & angle);
142 GLM_FUNC_DECL vecType<T, P> tanh(vecType<T, P> const & angle);
/hardware/interfaces/gnss/2.1/
DIGnssAntennaInfoCallback.hal63 * millimeters, at regularly spaced azimuthal angle (theta) and zenith angle
67 * The azimuthal angle, theta, is defined with respect to the X axis of the
69 * angle, phi, is defined with respect to the Z axis of the Android Sensor
73 * corresponds to a theta angle of 0 degrees. The last row corresponds to a
74 * theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
95 * azimuthal angle (theta) and zenith angle (phi). The values are calculated or
101 * The azimuthal angle, theta, is defined with respect to the X axis of the
103 * angle, phi, is defined with respect to the Z axis of the Android Sensor
107 * corresponds to a theta angle of 0 degrees. The last row corresponds to a
108 * theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DBUILD.bazel15 "//external/angle:angle-headers",
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dmag_disturb.h92 void inv_mag_disturb_set_yaw_angle_weak_threshold(float angle);
97 void inv_mag_disturb_set_yaw_angle_strong_threshold(float angle);
/hardware/interfaces/biometrics/face/1.0/
Dtypes.hal290 * The magnitude of the pan angle of the user’s face with respect to the sensor’s
293 * The pan angle is defined as the angle swept out by the user’s face turning
294 * their neck left and right. The pan angle would be zero if the user faced the
302 * The magnitude of the tilt angle of the user’s face with respect to the sensor’s
305 * The tilt angle is defined as the angle swept out by the user’s face looking up
306 * and down. The tilt angle would be zero if the user faced the camera directly.
313 * The magnitude of the roll angle of the user’s face with respect to the sensor’s
316 * The roll angle is defined as the angle swept out by the user’s face tilting their head
317 * towards their shoulders to the left and right. The roll angle would be zero if the user's
/hardware/google/gfxstream/host/apigen-codec-common/X11/extensions/
DXKBgeom.h122 short angle; member
137 short angle; member
153 short angle; member
174 short angle; member
190 short angle; member
236 short angle; member
/hardware/google/gfxstream/host/testlibs/windows/
DWindows_system_utils.cpp14 namespace angle namespace

1234