Lines Matching defs:VEC4

64 struct VEC4 : public VEC4_  struct
70 static const VEC4& Zero() in Zero() argument
78 static const VEC4& ZeroWOne() in ZeroWOne() argument
86 static const VEC4& One() in One() argument
93 typedef VEC4 self_type; // argument
102 VEC4() {} in VEC4() function
104 explicit VEC4(const f32* p) { x = p[0]; y = p[1]; z = p[2]; w = p[3]; } in VEC4() function
106 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4() function
108 VEC4(f32 fx, f32 fy, f32 fz, f32 fw) { x = fx; y = fy; z = fz; w = fw; } in VEC4() function
110 explicit VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4() function
138 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret… argument
139 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret… argument
140 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } argument
149 self_type& Lerp(const VEC4& lhs, const VEC4& rhs, f32 t) in Lerp() argument
158 f32 Dot(const VEC4& vec) const in Dot() argument
166 f32 LenSq() const { return VEC4LenSq(this); } in LenSq() argument
169 f32 LengthSquare() const { return VEC4LenSq(this); } in LengthSquare() argument
172 f32 Length() const { return VEC4Len(this); } in Length() argument
184 self_type& SafeNormalize(const VEC4& alt) in SafeNormalize() argument
192 f32 DistanceSquare(const VEC4& vec) in DistanceSquare() argument
201 self_type& Maximize(const VEC4& lhs, const VEC4& rhs) in Maximize() argument
210 self_type& Minimize(const VEC4& lhs, const VEC4& rhs) in Minimize() argument
237 bool IsZero() const { return VEC4IsZero(this); } in IsZero() argument
240 bool IsZeroWOne() const { return VEC4IsZeroWOne(this); } in IsZeroWOne() argument