Home
last modified time | relevance | path

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

/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Vector2.h28 struct VEC2;
31 NN_MATH_INLINE bool VEC2IsZero(const VEC2* p);
33 NN_MATH_INLINE VEC2* VEC2Lerp(VEC2* pOut, const VEC2* p1, const VEC2* p2, f32 t);
34 NN_MATH_INLINE f32 VEC2Dot(const VEC2* p1, const VEC2* p2);
35 NN_MATH_INLINE VEC2* VEC2Maximize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
36 NN_MATH_INLINE VEC2* VEC2Minimize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
37 NN_MATH_INLINE VEC2* VEC2Normalize(VEC2* pOut, const VEC2* p);
38 NN_MATH_INLINE VEC2* VEC2SafeNormalize(VEC2* pOut, const VEC2* p, const VEC2& alt);
39 NN_MATH_INLINE f32 VEC2DistSq(const VEC2* p1, const VEC2* p2);
40 NN_MATH_INLINE VEC2* VEC2Transform(VEC2* pOut, const MTX23* pM, const VEC2* pV);
[all …]
Dmath_Matrix22.h121 VEC2& GetRow(int index) in GetRow()
124 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow()
128 const VEC2& GetRow(int index) const in GetRow()
131 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow()
135 VEC2 GetColumn(int index) const in GetColumn()
138 VEC2 column; in GetColumn()
145 void SetColumn(int index, const VEC2& column) in SetColumn()
Dmath_Matrix23.h42 NN_MATH_INLINE MTX23* MTX23Scale(MTX23* pOut, const MTX23* pM, const VEC2* pS);
43 NN_MATH_INLINE MTX23* MTX23Translate(MTX23* pOut, const MTX23* pM, const VEC2* pT);
45 NN_MATH_INLINE MTX23* MTX23RotCenterFIdx(MTX23* pOut, const VEC2* pCenter, f32 fIdx);
142 VEC2 GetColumn(int index) const in GetColumn()
145 VEC2 column; in GetColumn()
152 void SetColumn(int index, const VEC2& column) in SetColumn()
203 self_type& SetupScale(const MTX23& matrix, const VEC2& scale) in SetupScale()
213 self_type& SetupTranslate(const MTX23& matrix, const VEC2& translate) in SetupTranslate()
233 self_type& SetupRotate(const VEC2& center, f32 rotate) in SetupRotate()
274 inline MTX23* MTX23Scale(MTX23* pOut, const MTX23& m, const VEC2& vS) { return MTX23Scale( pOut, &m… in MTX23Scale()
[all …]
Dmath_Transform.h32 VEC2 scale;
33 VEC2 rotate;
34 VEC2 translate;
57 Transform2(const VEC2& s, const VEC2& r, const VEC2& t) in Transform2()
101 pOut->scale = VEC2(1.f, 1.f); in Transform2Identity()
102 pOut->rotate = VEC2(0.f, 0.f); in Transform2Identity()
103 pOut->translate = VEC2(0.f, 0.f); in Transform2Identity()
Dmath_Types.h44 struct VEC2;
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/
Dmath_Vector2.ipp20 VEC2
36 VEC2IsZero(const VEC2* p)
50 NN_MATH_INLINE VEC2*
51 VEC2Maximize(VEC2* pOut, const VEC2* p1, const VEC2* p2)
69 NN_MATH_INLINE VEC2*
70 VEC2Minimize(VEC2* pOut, const VEC2* p1, const VEC2* p2)
87 NN_MATH_INLINE VEC2*
88 VEC2Normalize(VEC2* pOut, const VEC2* p)
105 NN_MATH_INLINE VEC2*
106 VEC2SafeNormalize(VEC2* pOut, const VEC2* p, const VEC2& alt)
Dmath_Types.ipp56 NN_MATH_INLINE VEC2*
57 VEC2Transform(VEC2* pOut, const MTX23* pM, const VEC2* pV)
63 VEC2 tmp;
64 const VEC2* pVec;
Dmath_Matrix23.ipp236 MTX23Scale(MTX23* pOut, const MTX23* __restrict pM, const VEC2* __restrict pS)
266 MTX23Translate(MTX23* pOut, const MTX23* pM, const VEC2* pT)
273 VEC2 tmp;
317 MTX23RotCenterFIdx(MTX23* pOut, const VEC2* pCenter, f32 fIdx)
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Vector2.cpp41 VEC2::Report(bool bNewline, const char* name) const in Report()
/CTR-SDK-1.0.0/CTR_SDK/include/nn/font/CTR/
Dfont_CharWriter.h579 typedef math::VEC2 CharScale;