Lines Matching defs:VEC2
54 struct VEC2 : public VEC2_ struct
60 static const VEC2& Zero() in Zero() argument
67 typedef VEC2 self_type; //!< 自分の型です argument
76 VEC2() {} in VEC2() argument
78 VEC2(const f32* p) { x = p[0]; y = p[1]; } in VEC2() function
80 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2() argument
82 VEC2(f32 fx, f32 fy) { x = fx; y = fy; } in VEC2() argument
119 self_type& Lerp(const VEC2& lhs, const VEC2& rhs, f32 t) in Lerp() argument
128 f32 Dot(const VEC2& vec) const in Dot() argument
152 self_type& SafeNormalize(const VEC2& alt) in SafeNormalize() argument
160 f32 DistanceSquare(const VEC2& vec) in DistanceSquare() argument
169 self_type& Maximize(const VEC2& lhs, const VEC2& rhs) in Maximize() argument
178 self_type& Minimize(const VEC2& lhs, const VEC2& rhs) in Minimize() argument
205 bool IsZero() const { return VEC2IsZero(this); } in IsZero() argument
212 typedef struct VEC2 Vector2; argument