Home
last modified time | relevance | path

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

/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector2.h28 struct VEC2;
44 NN_MATH_INLINE VEC2* VEC2Add(VEC2* pOut, const VEC2* p1, const VEC2* p2);
54 NN_MATH_INLINE f32 VEC2DistSq(const VEC2* p1, const VEC2* p2);
64 NN_MATH_INLINE f32 VEC2Dot(const VEC2* p1, const VEC2* p2);
73 NN_MATH_INLINE bool VEC2IsZero(const VEC2* p);
82 NN_MATH_INLINE f32 VEC2Len(const VEC2* p);
91 NN_MATH_INLINE f32 VEC2LenSq(const VEC2* p);
103 NN_MATH_INLINE VEC2* VEC2Lerp(VEC2* pOut, const VEC2* p1, const VEC2* p2, f32 t);
114 NN_MATH_INLINE VEC2* VEC2Maximize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
125 NN_MATH_INLINE VEC2* VEC2Minimize(VEC2* pOut, const VEC2* p1, const VEC2* p2);
[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()
133 NN_MATH_INLINE VEC2* VEC2Transform(VEC2* pOut, const MTX23* pM, const VEC2* pV);
267 inline VEC2* VEC2Transform(VEC2* pOut, const MTX23& m, const VEC2& v) { return VEC2Transform( pOut,… in VEC2Transform()
Dmath_Matrix23.h123 NN_MATH_INLINE MTX23* MTX23MultTranslate(MTX23* pOut, const MTX23* pM, const VEC2* pT);
134 NN_MATH_INLINE MTX23* MTX23MultTranslate(MTX23* pOut, const VEC2* pT, const MTX23* pM);
145 NN_MATH_INLINE MTX23* MTX23RotCenterFIdx(MTX23* pOut, const VEC2* pCenter, f32 fIdx);
166 NN_MATH_INLINE MTX23* MTX23Scale(MTX23* pOut, const MTX23* pM, const VEC2* pS);
187 NN_MATH_INLINE MTX23* MTX23Translate(MTX23* pOut, const VEC2* pT);
310 VEC2 GetColumn(int index) const in GetColumn()
313 VEC2 column; in GetColumn()
320 void SetColumn(int index, const VEC2& column) in SetColumn()
386 self_type& SetupScale(const MTX23& matrix, const VEC2& scale) in SetupScale()
396 self_type& SetupTranslate(const MTX23& matrix, const VEC2& translate) in SetupTranslate()
[all …]
Dmath_Matrix22.h186 VEC2& GetRow(int index) in GetRow()
189 return *reinterpret_cast<VEC2*>(&this->v[index]); in GetRow()
193 const VEC2& GetRow(int index) const in GetRow()
196 return *reinterpret_cast<const VEC2*>(&this->v[index]); in GetRow()
200 VEC2 GetColumn(int index) const in GetColumn()
203 VEC2 column; in GetColumn()
210 void SetColumn(int index, const VEC2& column) in SetColumn()
Dmath_Types.h44 struct VEC2;
/CTR-SDK-4.2.5/include/nn/dbg/CTR/
Ddbg_DirectPrint.h83 void ChangeDisplaybuffer( void* dispbuf, GLenum format, const nn::math::VEC2& size );
145 … void Printf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* format, ... );
156 void Printf( const nn::math::VEC2& pos, const char* format, ... );
169 …void VPrintf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* format, va_li…
180 void VPrintf( const nn::math::VEC2& pos, const char* format, va_list v );
194 void PutString( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* str );
204 void PutString( const nn::math::VEC2& pos, const char* str );
213 void PutChar( const nn::math::VEC2& pos, bool fillBg, char c );
223 void PutChar( const nn::math::VEC2& pos, char c );
266 const nn::math::VEC2& GetLastCursorPos() const { return m_LastCursorPos; }; in GetLastCursorPos()
[all …]
/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Vector2.ipp20 VEC2
23 VEC2IsZero(const VEC2* p)
28 NN_MATH_INLINE VEC2*
29 VEC2Maximize(VEC2* pOut, const VEC2* p1, const VEC2* p2)
37 NN_MATH_INLINE VEC2*
38 VEC2Minimize(VEC2* pOut, const VEC2* p1, const VEC2* p2)
46 NN_MATH_INLINE VEC2*
47 VEC2Normalize(VEC2* pOut, const VEC2* p)
54 NN_MATH_INLINE VEC2*
55 VEC2SafeNormalize(VEC2* pOut, const VEC2* p, const VEC2& alt)
Dmath_Matrix23.ipp144 MTX23MultTranslate(MTX23* pOut, const MTX23* pM, const VEC2* pT)
151 VEC2 tmp;
160 MTX23MultTranslate(MTX23* pOut, const VEC2* pT, const MTX23* pM)
182 MTX23RotCenterFIdx(MTX23* pOut, const VEC2* pCenter, f32 fIdx)
227 MTX23Scale(MTX23* pOut, const MTX23* __restrict pM, const VEC2* __restrict pS)
266 MTX23Translate(MTX23* pOut, const VEC2* pT)
Dmath_Types.ipp46 NN_MATH_INLINE VEC2*
47 VEC2Transform(VEC2* pOut, const MTX23* pM, const VEC2* pV)
53 VEC2 tmp;
54 const VEC2* pVec;
/CTR-SDK-4.2.5/sources/libraries/dbg/CTR/
Ddbg_DirectPrint.cpp81 void DirectPrint::ChangeDisplaybuffer( void* dispbuf, GLenum format, const nn::math::VEC2& size ) in ChangeDisplaybuffer()
109 void DirectPrint::Printf( const nn::math::VEC2& pos, const char* format, ... ) in Printf()
119 void DirectPrint::Printf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* fo… in Printf()
129 void DirectPrint::VPrintf( const nn::math::VEC2& pos, const char* format, va_list v ) in VPrintf()
136 void DirectPrint::VPrintf( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char* f… in VPrintf()
145 void DirectPrint::PutString( const nn::math::VEC2& pos, const char* str ) in PutString()
152 void DirectPrint::PutString( const nn::math::VEC2& pos, bool autoLineFeed, bool fillBg, const char*… in PutString()
154 nn::math::VEC2 cursor = pos; in PutString()
186 void DirectPrint::PutChar( const nn::math::VEC2& pos, char c ) in PutChar()
193 void DirectPrint::PutChar( const nn::math::VEC2& pos, bool fillBg, char c ) in PutChar()
[all …]
Ddbg_ExceptionScreen.cpp203 bool PutHaltMessage(nn::dbg::DirectPrint* pdp, const nn::math::VEC2& pos, const char* msg ) in PutHaltMessage()
216 void ClearMessage(nn::dbg::DirectPrint* pdp, const nn::math::VEC2& pos, const char* msg ) in ClearMessage()
226 nn::math::VEC2 pos( 0 , 0 ); in ShowWithAutoScroll()
262 nn::math::VEC2 pos( 0 , 0 ); in ShowWithManualScroll()
344 nn::math::VEC2( height , width ) ); in StealDisplaybuffer()
608 nn::math::VEC2( 320 , 240 ) ); in AssignNewDisplaybuffer()
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_Vector2.cpp41 VEC2::Report(bool bNewline, const char* name) const in Report()
/CTR-SDK-4.2.5/sources/libraries/dbg/
Ddbg_Default.cpp49 math::VEC2 pos(0, 0); in HandleBreak()
/CTR-SDK-4.2.5/include/nn/font/CTR/
Dfont_CharWriter.h569 typedef math::VEC2 CharScale;