Searched defs:VEC2 (Results 1 – 1 of 1) sorted by relevance
54 struct VEC2 : public VEC2_ struct60 static const VEC2& Zero() in Zero() argument67 typedef VEC2 self_type; //!< 自分の型です argument76 VEC2() {} in VEC2() argument78 VEC2(const f32* p) { x = p[0]; y = p[1]; } in VEC2() function80 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2() argument82 VEC2(f32 fx, f32 fy) { x = fx; y = fy; } in VEC2() argument119 self_type& Lerp(const VEC2& lhs, const VEC2& rhs, f32 t) in Lerp() argument128 f32 Dot(const VEC2& vec) const in Dot() argument152 self_type& SafeNormalize(const VEC2& alt) in SafeNormalize() argument[all …]