Searched refs:TVec3 (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/libs/math/include/math/ |
D | vec3.h | 34 class TVec3 : public TVecProductOperators<TVec3, T>, 35 public TVecAddOperators<TVec3, T>, 36 public TVecUnaryOperators<TVec3, T>, 37 public TVecComparisonOperators<TVec3, T>, 38 public TVecFunctions<TVec3, T>, 39 public TVecDebug<TVec3, T> { 75 TVec3(const TVec3&) = default; 76 ~TVec3() = default; 77 TVec3& operator = (const TVec3&) = default; 82 constexpr TVec3(no_init) { } in TVec3() function [all …]
|
D | mat3.h | 92 typedef TVec3<T> col_type; 93 typedef TVec3<T> row_type; 196 explicit CONSTEXPR TMat33(const TVec3<U>& v); 216 CONSTEXPR TMat33(const TVec3<A>& v0, const TVec3<B>& v1, const TVec3<C>& v2); 288 CONSTEXPR TMat33<T>::TMat33(const TVec3<U>& v) { in TMat33() 322 CONSTEXPR TMat33<T>::TMat33(const TVec3<A>& v0, const TVec3<B>& v1, const TVec3<C>& v2) { in TMat33() 375 CONSTEXPR typename TMat33<U>::col_type PURE operator *(const TMat33<T>& lhs, const TVec3<U>& rhs) { 386 CONSTEXPR typename TMat33<U>::row_type PURE operator *(const TVec3<U>& lhs, const TMat33<T>& rhs) {
|
D | mat4.h | 265 CONSTEXPR TMat44(const TMat33<U>& matrix, const TVec3<V>& translation); 288 static CONSTEXPR TMat44 lookAt(const TVec3<A>& eye, const TVec3<B>& center, const TVec3<C>& up); 291 static CONSTEXPR TVec3<A> project(const TMat44& projectionMatrix, TVec3<A> vertice) { in project() 426 CONSTEXPR TMat44<T>::TMat44(const TMat33<U>& m, const TVec3<V>& v) { in TMat44() 494 CONSTEXPR TMat44<T> TMat44<T>::lookAt(const TVec3<A>& eye, const TVec3<B>& center, const TVec3<C>& … in lookAt() 495 TVec3<T> z_axis(normalize(center - eye)); in lookAt() 496 TVec3<T> norm_up(normalize(up)); in lookAt() 501 TVec3<T> x_axis(normalize(cross(z_axis, norm_up))); in lookAt() 502 TVec3<T> y_axis(cross(x_axis, z_axis)); in lookAt() 535 CONSTEXPR typename TMat44<T>::col_type PURE operator *(const TMat44<T>& lhs, const TVec3<U>& rhs) {
|
D | vec4.h | 54 TVec3<T> xyz; 55 TVec3<T> stp; 56 TVec3<T> rgb; 102 constexpr TVec4(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TVec4()
|
D | quat.h | 68 TVec3<T> xyz; 116 constexpr TQuaternion(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TQuaternion() 133 constexpr static TQuaternion PURE fromAxisAngle(const TVec3<A>& axis, B angle) { in fromAxisAngle()
|
D | TQuatHelpers.h | 108 constexpr TVec3<T> PURE operator *(const QUATERNION<T>& q, const TVec3<RT>& v) { 210 constexpr TVec3<T> PURE imaginary(const QUATERNION<T>& q) { in imaginary()
|
/frameworks/native/libs/math/tests/ |
D | mat_test.cpp | 638 typedef ::android::details::TVec3<TypeParam> V3T; in TYPED_TEST() 667 typedef ::android::details::TVec3<TypeParam> V3T; in TYPED_TEST()
|