Home
last modified time | relevance | path

Searched refs:math (Results 1 – 25 of 100) sorted by relevance

1234

/CTR-SDK-4.2.5/include/nn/ulcd/CTR/
Dulcd_StereoCamera.h84 void SetBaseFrustum(const nn::math::Matrix44 *proj);
109 void SetBaseCamera(const nn::math::Matrix34 *view);
122 void SetBaseCamera(const nn::math::Vector3 *position, const nn::math::Vector3 *rightDir,
123 const nn::math::Vector3 *upDir, const nn::math::Vector3 *targetDir);
147 void CalculateMatrices(nn::math::Matrix44* projL, nn::math::Matrix34* viewL,
148 nn::math::Matrix44* projR, nn::math::Matrix34* viewR,
150 … const nn::math::PivotDirection pivot = nn::math::PIVOT_UPSIDE_TO_TOP);
165 void CalculateMatricesReal(nn::math::Matrix44* projL, nn::math::Matrix34* viewL,
166 nn::math::Matrix44* projR, nn::math::Matrix34* viewR,
168 … const nn::math::PivotDirection pivot = nn::math::PIVOT_UPSIDE_TO_TOP);
[all …]
/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/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 …]
/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_Utility.h176 const nn::math::MTX34* src,
188 const nn::math::MTX44* src,
202 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::MTX34& mtx34 ) in MakeUniformCommandVS()
221 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::MTX44& mtx44 ) in MakeUniformCommandVS()
240 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandVS()
246 *command++ = nn::math::F32AsU32( vec4.w ); in MakeUniformCommandVS()
247 *command++ = nn::math::F32AsU32( vec4.z ); in MakeUniformCommandVS()
248 *command++ = nn::math::F32AsU32( vec4.y ); in MakeUniformCommandVS()
249 *command++ = nn::math::F32AsU32( vec4.x ); in MakeUniformCommandVS()
266 …inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandVS()
[all …]
Dgr_BindSymbol.h146 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand()
159 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand()
172 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand()
187 … bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand()
257 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand()
270 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand()
283 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand()
297 … bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand()
/CTR-SDK-4.2.5/include/nn/hid/CTR/
Dhid_DeviceStatus.h187 nn::math::VEC3 x;/**/
190 nn::math::VEC3 y;
193 nn::math::VEC3 z;
201 …explicit Direction(const nn::math::VEC3& vecx,const nn::math::VEC3& vecy,const nn::math::VEC3& vec… in Direction()
205 Direction(const nn::math::MTX33 &mtx33) in Direction()
209 nn::math::MTX33 ToMTX33() in ToMTX33()
211 return nn::math::MTX33( in ToMTX33()
229 nn::math::VEC3 speed;
231 nn::math::VEC3 angle;
Dhid_GyroscopeReader.h453 void SetAxisRotationMatrix(const nn::math::MTX34& mtx);
464 nn::math::MTX34 GetAxisRotationMatrix() const;
474 void GetAxisRotationMatrix(nn::math::MTX34* pMtx) const;
497 f32 ReviseDirection_Acceleration(Direction& rev_dir, const nn::math::VEC3& acc);
526 nn::math::VEC3 m_SpeedOld;
527 nn::math::VEC3 m_SpeedVector;
528 nn::math::VEC3 m_SpeedScale;
551 nn::math::VEC3 m_CalibrationZero; // Calibration value
554 nn::math::VEC3 m_CountZero; // Count value indicating zero point
568 nn::math::MTX34 m_RotateMtx;
Dhid_AccelerometerReader.h197 void SetAxisRotationMatrix(const nn::math::MTX34& mtx);
208 nn::math::MTX34 GetAxisRotationMatrix() const;
218 void GetAxisRotationMatrix(nn::math::MTX34* pMtx) const;
350 nn::math::MTX34 m_RotateMtx;
/CTR-SDK-4.2.5/include/nn/util/
Dutil_Color.h136 nn::math::Min(this->r + right.r, ELEMENT_MAX),
137 nn::math::Min(this->g + right.g, ELEMENT_MAX),
138 nn::math::Min(this->b + right.b, ELEMENT_MAX),
139 nn::math::Min(this->a + right.a, ELEMENT_MAX)
154 nn::math::Max(this->r - right.r, ELEMENT_MIN),
155 nn::math::Max(this->g - right.g, ELEMENT_MIN),
156 nn::math::Max(this->b - right.b, ELEMENT_MIN),
157 nn::math::Max(this->a - right.a, ELEMENT_MIN)
349 nn::math::Min(this->r + right.r, ELEMENT_MAX),
350 nn::math::Min(this->g + right.g, ELEMENT_MAX),
[all …]
/CTR-SDK-4.2.5/include/nn/os/
Dos_Tick.h225 math::MakeRate32<TICKS_PER_SECOND, 1000 * 1000 * 1000>::VALUE) ) in Tick()
234 math::MakeRate<1000 * 1000 * 1000, TICKS_PER_SECOND>::VALUE )); in TimeSpan()
246 math::MakeRate32<TICKS_PER_SECOND, 1000 * 1000 * 1000>::VALUE );
261 math::MakeRate<1000 * 1000 * 1000, TICKS_PER_SECOND>::VALUE ); in ToNanoSeconds()
267 math::MakeRate32<1000 * 1000, TICKS_PER_SECOND>::VALUE ); in ToMicroSeconds()
273 math::MakeRate32<1000, TICKS_PER_SECOND>::VALUE ); in ToMilliSeconds()
279 math::MakeRate32<1, TICKS_PER_SECOND>::VALUE ); in ToSeconds()
/CTR-SDK-4.2.5/sources/libraries/math/ARMv6/
Dmath_Triangular.cpp21 namespace nn { namespace math { namespace
29 IMPORT __cpp(nn::math::internal::gSinCosTbl)[DATA] in SinCosIdxAsm()
33 LDR r2,=__cpp(nn::math::internal::gSinCosTbl) in SinCosIdxAsm()
/CTR-SDK-4.2.5/include/nn/font/CTR/
Dfont_RectDrawer.h192 void SetProjectionMtx(const nn::math::MTX44& mtx);
198 void SetViewMtxForText(const nn::math::MTX34& mtx);
277 math::VEC4* __restrict dst,
410 math::VEC4 *const m_UniformMtx;
413 math::VEC4 *const m_UniformData;
416 math::VEC4 *const m_UniformTextColor;
Dfont_DispStringBuffer.h27 math::VEC4 pos;
29 math::VEC4 tex;
Dfont_TextWriterResource.h80 void SetProjectionMtx(const nn::math::MTX44& mtx) const;
86 void SetViewMtx(const nn::math::MTX34& mtx) const;
/CTR-SDK-4.2.5/include/nn/math/
Dmath_Triangular.h28 namespace math {
47 namespace math {
58 #define NN_MATH_RAD_TO_FIDX(rad) ((rad) * (256.f / (2.0f * ::nn::math::F_PI)))
60 #define NN_MATH_DEG_TO_RAD(deg) ((deg) * (::nn::math::F_PI / 180.0f) )
61 #define NN_MATH_RAD_TO_DEG(rad) ((rad) * (180.0f / ::nn::math::F_PI) )
62 #define NN_MATH_FIDX_TO_RAD(fidx) ((fidx) * ((2.0f * ::nn::math::F_PI) / 256.f))
/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Matrix33.ipp15 #include <nn/math/math_Vector3.h>
18 namespace math {
48 } // namespace math
/CTR-SDK-4.2.5/sources/libraries/math/
Dmath_Types.cpp27 namespace nn { namespace math { namespace
Dmath_Vector2.cpp24 namespace nn { namespace math { namespace
Dmath_Vector3.cpp25 namespace nn { namespace math { namespace
Dmath_Vector4.cpp24 namespace nn { namespace math { namespace
Dmath_Quaternion.cpp26 namespace nn { namespace math { namespace
Dmath_Matrix22.cpp24 namespace nn { namespace math { namespace
Dmath_Matrix23.cpp24 namespace nn { namespace math { namespace
/CTR-SDK-4.2.5/include/nn/math/ARMv6/
Dmath_Triangular.h22 namespace math {
Dmath_Vector3.h23 namespace math {

1234