| /CTR-SDK-1.0.0/CTR_SDK/include/nn/ulcd/CTR/ |
| D | ulcd_StereoCamera.h | 84 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-1.0.0/CTR_SDK/include/nn/gr/CTR/ |
| D | gr_Utility.h | 44 const nn::math::MTX34* src, 56 const nn::math::MTX44* src, 70 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::MTX34& mtx34 ) in MakeUniformCommandVS() 89 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::MTX44& mtx44 ) in MakeUniformCommandVS() 108 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandVS() 112 *command++ = nn::math::F32AsU32( vec4.w ); in MakeUniformCommandVS() 113 *command++ = nn::math::F32AsU32( vec4.z ); in MakeUniformCommandVS() 114 *command++ = nn::math::F32AsU32( vec4.y ); in MakeUniformCommandVS() 115 *command++ = nn::math::F32AsU32( vec4.x ); in MakeUniformCommandVS() 132 …inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandVS() [all …]
|
| D | gr_BindSymbol.h | 147 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand() 160 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand() 173 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand() 188 … bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand() 258 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX34& mtx34 ) const in MakeUniformCommand() 271 bit32* MakeUniformCommand( bit32* command, const nn::math::MTX44& mtx44 ) const in MakeUniformCommand() 284 bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4& vec4 ) const in MakeUniformCommand() 298 … bit32* MakeUniformCommand( bit32* command, const nn::math::VEC4 vec4[], const int num ) const in MakeUniformCommand()
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/hid/CTR/ |
| D | hid_DeviceStatus.h | 156 nn::math::VEC3 x;/**/ 159 nn::math::VEC3 y; 162 nn::math::VEC3 z; 170 Direction(const nn::math::VEC3& vecx,const nn::math::VEC3& vecy,const nn::math::VEC3& vecz) in Direction() 174 Direction(const nn::math::MTX33 &mtx33) in Direction() 178 nn::math::MTX33 ToMTX33() in ToMTX33() 180 return nn::math::MTX33( in ToMTX33() 198 nn::math::VEC3 speed; 200 nn::math::VEC3 angle;
|
| D | hid_GyroscopeReader.h | 456 void SetAxisRotationMatrix(nn::math::MTX34 mtx); 463 nn::math::MTX34 GetAxisRotationMatrix(); 480 f32 ReviseDirection_Acceleration(Direction& rev_dir, const nn::math::VEC3& acc); 509 nn::math::VEC3 m_SpeedOld; 510 nn::math::VEC3 m_SpeedVector; 511 nn::math::VEC3 m_SpeedScale; 534 nn::math::VEC3 m_CalibrationZero; // キャリブレーション値 537 nn::math::VEC3 m_CountZero; // ゼロ点を示すカウント値 551 nn::math::MTX34 m_RotateMtx;
|
| D | hid_AccelerometerReader.h | 195 void SetAxisRotationMatrix(nn::math::MTX34 mtx); 202 nn::math::MTX34 GetAxisRotationMatrix(); 328 nn::math::MTX34 m_RotateMtx;
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/util/ |
| D | util_Color.h | 136 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) 190 … (right.r != 0) ? nn::math::Min(this->r * ELEMENT_MAX / right.r, ELEMENT_MAX): ELEMENT_MAX, 191 … (right.g != 0) ? nn::math::Min(this->g * ELEMENT_MAX / right.g, ELEMENT_MAX): ELEMENT_MAX, [all …]
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/font/CTR/ |
| D | font_RectDrawer.h | 192 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;
|
| D | font_DispStringBuffer.h | 27 math::VEC4 pos; 29 math::VEC4 tex;
|
| D | font_TextWriterResource.h | 80 void SetProjectionMtx(const nn::math::MTX44& mtx) const; 86 void SetViewMtx(const nn::math::MTX34& mtx) const;
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ |
| D | math_Triangular.h | 27 namespace math { 46 namespace math { 57 #define NN_MATH_RAD_TO_FIDX(rad) ((rad) * (256.f / (2.0f * ::nn::math::F_PI))) 59 #define NN_MATH_DEG_TO_RAD(deg) ((deg) * (::nn::math::F_PI / 180.0f) ) 60 #define NN_MATH_RAD_TO_DEG(rad) ((rad) * (180.0f / ::nn::math::F_PI) ) 61 #define NN_MATH_FIDX_TO_RAD(fidx) ((fidx) * ((2.0f * ::nn::math::F_PI) / 256.f))
|
| D | math_Equation.h | 22 namespace nn { namespace math {
|
| /CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/ |
| D | math_Types.cpp | 27 namespace nn { namespace math { namespace
|
| D | math_Vector2.cpp | 24 namespace nn { namespace math { namespace
|
| D | math_Vector3.cpp | 25 namespace nn { namespace math { namespace
|
| D | math_Vector4.cpp | 24 namespace nn { namespace math { namespace
|
| D | math_Quaternion.cpp | 26 namespace nn { namespace math { namespace
|
| D | math_Matrix22.cpp | 24 namespace nn { namespace math { namespace
|
| D | math_Matrix23.cpp | 24 namespace nn { namespace math { namespace
|
| D | math_Matrix33.cpp | 27 namespace nn { namespace math { namespace
|
| D | math_Matrix34.cpp | 25 namespace nn { namespace math { namespace
|
| D | math_Matrix43.cpp | 25 namespace nn { namespace math { namespace
|
| D | math_Matrix44.cpp | 25 namespace nn { namespace math { namespace
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/ |
| D | math_Matrix33.ipp | 15 #include <nn/math/math_Vector3.h> 18 namespace math { 79 } // namespace math
|
| /CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/ |
| D | math_Vector3.h | 23 namespace math {
|