Home
last modified time | relevance | path

Searched refs:tvec3 (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/include/ui/
Dvec3.h29 class tvec3 : public TVecProductOperators<tvec3, T>,
30 public TVecAddOperators<tvec3, T>,
31 public TVecUnaryOperators<tvec3, T>,
32 public TVecComparisonOperators<tvec3, T>,
33 public TVecFunctions<tvec3, T>
64 explicit tvec3(no_init) { } in tvec3() function
67 tvec3() : x(0), y(0), z(0) { } in tvec3() function
71 tvec3(A v) : x(v), y(v), z(v) { } in tvec3() function
74 tvec3(A x, B y, C z) : x(x), y(y), z(z) { } in tvec3() function
77 tvec3(const tvec2<A>& v, B z) : x(v.x), y(v.y), z(z) { } in tvec3() function
[all …]
Dvec4.h49 Impersonator< tvec3<T> > xyz;
50 Impersonator< tvec3<T> > stp;
51 Impersonator< tvec3<T> > rgb;
84 tvec4(const tvec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in tvec4()
97 tvec4(const Impersonator< tvec3<A> >& v, B w) in tvec4()
98 : x(((const tvec3<A>&)v).x), in tvec4()
99 y(((const tvec3<A>&)v).y), in tvec4()
100 z(((const tvec3<A>&)v).z), in tvec4()
Dmat4.h139 static tmat44 lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up);
148 static tmat44 rotate(A radian, const tvec3<B>& about);
263 tmat44<T> tmat44<T>::lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up) { in lookAt()
264 tvec3<T> L(normalize(center - eye)); in lookAt()
265 tvec3<T> S(normalize( cross(L, up) )); in lookAt()
266 tvec3<T> U(cross(S, L)); in lookAt()
295 tmat44<T> tmat44<T>::rotate(A radian, const tvec3<B>& about) { in rotate()
310 tvec3<B> nabout = normalize(about); in rotate()
/frameworks/native/libs/ui/tests/
Dvec_test.cpp253 tvec3<double> vd(east); in TEST_F()