Home
last modified time | relevance | path

Searched refs:VEC4 (Results 1 – 17 of 17) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Vector4.h28 struct VEC4;
33 NN_MATH_INLINE bool VEC4IsZero(const VEC4* p);
34 NN_MATH_INLINE bool VEC4IsZeroWOne(const VEC4* p);
35 NN_MATH_INLINE VEC4* VEC4Add(VEC4* pOut, const VEC4* p1, const VEC4* p2);
36 NN_MATH_INLINE VEC4* VEC4Sub(VEC4* pOut, const VEC4* p1, const VEC4* p2);
37 NN_MATH_INLINE VEC4* VEC4Mult(VEC4* pOut, const VEC4* p1, const VEC4* p2);
38 NN_MATH_INLINE VEC4* VEC4Scale(VEC4* pOut, const VEC4* p, f32 scale);
39 NN_MATH_INLINE VEC4* VEC4Lerp(VEC4* pOut, const VEC4* p1, const VEC4* p2, f32 t);
40 NN_MATH_INLINE f32 VEC4Dot(const VEC4* p1, const VEC4* p2);
41 NN_MATH_INLINE f32 VEC4LenSq(const VEC4* p);
[all …]
Dmath_Transform.h120 NN_MATH_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
122 NN_MATH_INLINE VEC4* VEC3TransformArray(VEC4* pOut, const MTX44* pM, const VEC3* pV, u32 count);
130 NN_MATH_INLINE VEC4* VEC4Transform(VEC4* pOut, const MTX44* pM, const VEC4* pV);
131 NN_MATH_INLINE VEC4* VEC4TransformArray(VEC4* pOut, const MTX44* pM, const VEC4* pV, u32 n);
137 inline VEC4* VEC3Transform(VEC4* pOut, const MTX44& m, const VEC3& v) { return VEC3Transform( pOut,… in VEC3Transform()
139 inline VEC4* VEC3TransformArray(VEC4* pOutArray, const MTX44& m, const VEC3* pArray, u32 count) { r… in VEC3TransformArray()
147 inline VEC4* VEC4Transform(VEC4* pOut, const MTX44& m, const VEC4& v) { return VEC4Transform( pOut,… in VEC4Transform()
148 inline VEC4* VEC4TransformArray(VEC4* pOutArray, const MTX44& m, const VEC4* pArray, u32 n) { retur… in VEC4TransformArray()
Dmath_Matrix44.h106 NN_FORCE_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
323 VEC4& GetRow(int index) in GetRow()
326 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
330 const VEC4& GetRow(int index) const in GetRow()
333 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
337 VEC4 GetColumn(int index) const in GetColumn()
340 VEC4 column; in GetColumn()
349 void SetColumn(int index, const VEC4& column) in SetColumn()
970 NN_FORCE_INLINE VEC4*
971 VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV) in VEC3Transform()
Dmath_Matrix43.h148 VEC4 GetColumn(int index) const in GetColumn()
151 VEC4 column; in GetColumn()
160 void SetColumn(int index, const VEC4& column) in SetColumn()
Dmath_Types.h46 struct VEC4;
Dmath_Matrix34.h261 VEC4& GetRow(int index) in GetRow()
264 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
268 const VEC4& GetRow(int index) const in GetRow()
271 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/
Dmath_Vector4.ipp20 VEC4
35 VEC4IsZero(const VEC4* p)
48 VEC4IsZeroWOne(const VEC4* p)
62 NN_MATH_INLINE VEC4*
63 VEC4Add(VEC4* pOut, const VEC4* p1, const VEC4* p2)
82 NN_MATH_INLINE VEC4*
83 VEC4Sub(VEC4* pOut, const VEC4* p1, const VEC4* p2)
102 NN_MATH_INLINE VEC4*
103 VEC4Mult(VEC4* pOut, const VEC4* p1, const VEC4* p2)
121 NN_MATH_INLINE VEC4*
[all …]
Dmath_Types.ipp146 NN_MATH_INLINE VEC4*
147 VEC3TransformArray(VEC4* pOut, const MTX44* __restrict pM, const VEC3* __restrict pV, u32 count)
150 VEC4* pDst = pOut;
287 NN_MATH_INLINE VEC4*
288 VEC4Transform(VEC4* pOut, const MTX44* __restrict pM, const VEC4* __restrict pV)
290 VEC4 tmp;
314 NN_MATH_INLINE VEC4*
315 VEC4TransformArray(VEC4* pOut, const MTX44* pM, const VEC4* pV, u32 count)
318 VEC4* pDst = pOut;
/CTR-SDK-1.0.0/CTR_SDK/include/nn/font/CTR/
Dfont_DispStringBuffer.h27 math::VEC4 pos;
29 math::VEC4 tex;
Dfont_RectDrawer.h277 math::VEC4* __restrict dst,
410 math::VEC4 *const m_UniformMtx;
413 math::VEC4 *const m_UniformData;
416 math::VEC4 *const m_UniformTextColor;
/CTR-SDK-1.0.0/CTR_SDK/include/nn/gr/CTR/
Dgr_BindSymbol.h173 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()
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()
Dgr_Utility.h108 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandVS()
132 …inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandVS()
224 … inline bit32* MakeUniformCommandGS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandGS()
247 …inline bit32* MakeUniformCommandGS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandGS()
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/
Dmath_Vector4.cpp41 VEC4::Report(bool bNewline, const char* name) const in Report()
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/
Dmath_Matrix44.h23 NN_MATH_INLINE VEC4* VEC3TransformC(VEC4* pOut, const MTX44* pM, const VEC3* pV);
62 VEC4* VEC3TransformAsm(VEC4* pOut, const MTX44* pM, const VEC3* pV);
/CTR-SDK-1.0.0/CTR_SDK/include/nn/util/
Dutil_Color.h603 /* ctor */ /* implicit */ FloatColor(const nn::math::VEC4& vec) in FloatColor()
663 SelfType& operator =(const nn::math::VEC4& vec)
693 operator nn::math::VEC4&()
701 operator const nn::math::VEC4&() const
1030 nn::math::VEC4& ToVEC4() in ToVEC4()
1032 return *reinterpret_cast<nn::math::VEC4*>(this); in ToVEC4()
1036 const nn::math::VEC4& ToVEC4() const in ToVEC4()
1038 return *reinterpret_cast<const nn::math::VEC4*>(this); in ToVEC4()
/CTR-SDK-1.0.0/CTR_SDK/sources/libraries/math/ARMv6/
Dmath_Matrix44.cpp334 asm VEC4* VEC3TransformAsm(VEC4*, const MTX44*, const VEC3*) in VEC3TransformAsm() argument
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/inline/
Dmath_Matrix44.ipp36 NN_MATH_INLINE VEC4*
37 VEC3TransformC(VEC4* pOut, const MTX44* pM, const VEC3* pV)
39 VEC4 tmp;
1506 VEC4 tmp;