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
85 typedef VEC4 self_type; //!< 自分の型です argument
94 VEC4() {} in VEC4() argument
96 VEC4(const f32* p) { x = p[0]; y = p[1]; z = p[2]; w = p[3]; } in VEC4() argument
98 VEC4(const VEC4_& v) { x = v.x; y = v.y; z = v.z; w = v.w; } in VEC4() function
100 VEC4(f32 fx, f32 fy, f32 fz, f32 fw) { x = fx; y = fy; z = fz; w = fw; } in VEC4() argument
102 VEC4(const VEC3& v) { x = v.x; y = v.y; z = v.z; w = 0.0f; } in VEC4() function
130 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret… argument
131 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret… argument
132 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; } argument
141 self_type& Lerp(const VEC4& lhs, const VEC4& rhs, f32 t) in Lerp() argument
150 f32 Dot(const VEC4& vec) const in Dot() argument
158 f32 LenSq() const { return VEC4LenSq(this); } in LenSq() argument
161 f32 LengthSquare() const { return VEC4LenSq(this); } in LengthSquare() argument
164 f32 Length() const { return VEC4Len(this); } in Length() argument
176 self_type& SafeNormalize(const VEC4& alt) in SafeNormalize() argument
184 f32 DistanceSquare(const VEC4& vec) in DistanceSquare() argument
193 self_type& Maximize(const VEC4& lhs, const VEC4& rhs) in Maximize() argument
202 self_type& Minimize(const VEC4& lhs, const VEC4& rhs) in Minimize() argument
229 bool IsZero() const { return VEC4IsZero(this); } in IsZero() argument
232 bool IsZeroWOne() const { return VEC4IsZeroWOne(this); } in IsZeroWOne() argument