Home
last modified time | relevance | path

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

1234

/CTR-SDK-1.0.0/CTR_SDK/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-1.0.0/CTR_SDK/include/nn/gr/CTR/
Dgr_Utility.h44 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 …]
Dgr_BindSymbol.h147 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/
Dhid_DeviceStatus.h156 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;
Dhid_GyroscopeReader.h456 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;
Dhid_AccelerometerReader.h195 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/
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)
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/
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-1.0.0/CTR_SDK/include/nn/math/
Dmath_Triangular.h27 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))
Dmath_Equation.h22 namespace nn { namespace math {
/CTR-SDK-1.0.0/CTR_SDK/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
Dmath_Matrix33.cpp27 namespace nn { namespace math { namespace
Dmath_Matrix34.cpp25 namespace nn { namespace math { namespace
Dmath_Matrix43.cpp25 namespace nn { namespace math { namespace
Dmath_Matrix44.cpp25 namespace nn { namespace math { namespace
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/
Dmath_Matrix33.ipp15 #include <nn/math/math_Vector3.h>
18 namespace math {
79 } // namespace math
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/
Dmath_Vector3.h23 namespace math {

1234