Home
last modified time | relevance | path

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

1234

/CTR-SDK-2.4.0/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-2.4.0/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()
114 *command++ = nn::math::F32AsU32( vec4.w ); in MakeUniformCommandVS()
115 *command++ = nn::math::F32AsU32( vec4.z ); in MakeUniformCommandVS()
116 *command++ = nn::math::F32AsU32( vec4.y ); in MakeUniformCommandVS()
117 *command++ = nn::math::F32AsU32( vec4.x ); in MakeUniformCommandVS()
134 …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-2.4.0/include/nn/hid/CTR/
Dhid_DeviceStatus.h163 nn::math::VEC3 x;/**/
166 nn::math::VEC3 y;
169 nn::math::VEC3 z;
177 …explicit Direction(const nn::math::VEC3& vecx,const nn::math::VEC3& vecy,const nn::math::VEC3& vec… in Direction()
181 Direction(const nn::math::MTX33 &mtx33) in Direction()
185 nn::math::MTX33 ToMTX33() in ToMTX33()
187 return nn::math::MTX33( in ToMTX33()
205 nn::math::VEC3 speed;
207 nn::math::VEC3 angle;
Dhid_GyroscopeReader.h447 void SetAxisRotationMatrix(const nn::math::MTX34& mtx);
458 nn::math::MTX34 GetAxisRotationMatrix() const;
468 void GetAxisRotationMatrix(nn::math::MTX34* pMtx) const;
485 f32 ReviseDirection_Acceleration(Direction& rev_dir, const nn::math::VEC3& acc);
514 nn::math::VEC3 m_SpeedOld;
515 nn::math::VEC3 m_SpeedVector;
516 nn::math::VEC3 m_SpeedScale;
539 nn::math::VEC3 m_CalibrationZero; // Calibration value
542 nn::math::VEC3 m_CountZero; // Count value indicating zero point
556 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;
344 nn::math::MTX34 m_RotateMtx;
/CTR-SDK-2.4.0/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-2.4.0/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-2.4.0/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-2.4.0/include/nn/math/inline/
Dmath_Matrix33.ipp15 #include <nn/math/math_Vector3.h>
18 namespace math {
79 } // namespace math
/CTR-SDK-2.4.0/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_Quaternion.cpp26 namespace nn { namespace math { namespace
Dmath_Vector4.cpp24 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-2.4.0/include/nn/math/ARMv6/
Dmath_Vector3.h23 namespace math {

1234