Home
last modified time | relevance | path

Searched defs:Vec4 (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/include/pixelflinger2/
Dpixelflinger2_vector4.h23 template <typename Type> struct Vec4 { struct
38 //Vec4() : x(0), y(0), z(0), w(0) {} argument
39 Vec4() {} in Vec4() argument
40 Vec4(Type X, Type Y, Type Z, Type W) : x(X), y(Y), z(Z), w(W) {} in Vec4() function
41 Vec4(Type X) : x(X), y(X), z(X), w(X) {} in Vec4() argument
69 { Vec4 res = *this; res += rhs; return res; } argument
74 void CrossProduct3(const Vec4<Type> & lhs, const Vec4<Type> & rhs) in CrossProduct3() argument
85 …bool operator==(const Vec4 & rhs) const { return u[0] == rhs.u[0] && u[1] == rhs.u[1] && u[2] == r… argument