Home
last modified time | relevance | path

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

/CTR-SDK-2.4.0/include/nn/math/
Dmath_Vector2.h54 struct VEC2 : public VEC2_ struct
60 static const VEC2& Zero() in Zero() argument
68 static const VEC2& One() in One() argument
75 typedef VEC2 self_type; // argument
84 VEC2() {} in VEC2() function
86 explicit VEC2(const f32* p) { x = p[0]; y = p[1]; } in VEC2() argument
88 VEC2(const VEC2_& v) { x = v.x; y = v.y; } in VEC2() argument
90 VEC2(f32 fx, f32 fy) { x = fx; y = fy; } in VEC2() argument
127 self_type& Lerp(const VEC2& lhs, const VEC2& rhs, f32 t) in Lerp() argument
136 f32 Dot(const VEC2& vec) const in Dot() argument
[all …]