Home
last modified time | relevance | path

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

/CTR-SDK-4.2.5/include/nn/math/
Dmath_Vector4.h28 struct VEC4;
47 NN_MATH_INLINE VEC4* VEC4Add(VEC4* pOut, const VEC4* p1, const VEC4* p2);
57 NN_MATH_INLINE f32 VEC4DistSq(const VEC4* p1, const VEC4* p2);
67 NN_MATH_INLINE f32 VEC4Dot(const VEC4* p1, const VEC4* p2);
76 NN_MATH_INLINE bool VEC4IsZero(const VEC4* p);
85 NN_MATH_INLINE bool VEC4IsZeroWOne(const VEC4* p);
94 NN_MATH_INLINE f32 VEC4Len(const VEC4* p);
103 NN_MATH_INLINE f32 VEC4LenSq(const VEC4* p);
115 NN_MATH_INLINE VEC4* VEC4Lerp(VEC4* pOut, const VEC4* p1, const VEC4* p2, f32 t);
126 NN_MATH_INLINE VEC4* VEC4Maximize(VEC4* pOut, const VEC4* p1, const VEC4* p2);
[all …]
Dmath_Transform.h167 NN_MATH_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
191 NN_MATH_INLINE VEC4* VEC3TransformArray(VEC4* pOut, const MTX44* pM, const VEC3* pV, u32 count);
248 NN_MATH_INLINE VEC4* VEC4Transform(VEC4* pOut, const MTX44* pM, const VEC4* pV);
260 NN_MATH_INLINE VEC4* VEC4TransformArray(VEC4* pOut, const MTX44* pM, const VEC4* pV, u32 n);
271 inline VEC4* VEC3Transform(VEC4* pOut, const MTX44& m, const VEC3& v) { return VEC3Transform( pOut,… in VEC3Transform()
273 inline VEC4* VEC3TransformArray(VEC4* pOutArray, const MTX44& m, const VEC3* pArray, u32 count) { r… in VEC3TransformArray()
281 inline VEC4* VEC4Transform(VEC4* pOut, const MTX44& m, const VEC4& v) { return VEC4Transform( pOut,… in VEC4Transform()
282 inline VEC4* VEC4TransformArray(VEC4* pOutArray, const MTX44& m, const VEC4* pArray, u32 n) { retur… in VEC4TransformArray()
Dmath_Matrix44.h454 NN_FORCE_INLINE VEC4* VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV);
581 VEC4& GetRow(int index) in GetRow()
584 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
588 const VEC4& GetRow(int index) const in GetRow()
591 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
595 VEC4 GetColumn(int index) const in GetColumn()
598 VEC4 column; in GetColumn()
607 void SetColumn(int index, const VEC4& column) in SetColumn()
1132 NN_FORCE_INLINE VEC4*
1133 VEC3Transform(VEC4* pOut, const MTX44* pM, const VEC3* pV) in VEC3Transform()
Dmath_Matrix43.h242 VEC4 GetColumn(int index) const in GetColumn()
245 VEC4 column; in GetColumn()
254 void SetColumn(int index, const VEC4& column) in SetColumn()
Dmath_Types.h46 struct VEC4;
Dmath_Matrix34.h647 VEC4& GetRow(int index) in GetRow()
650 return *reinterpret_cast<VEC4*>(&this->v[index]); in GetRow()
654 const VEC4& GetRow(int index) const in GetRow()
657 return *reinterpret_cast<const VEC4*>(&this->v[index]); in GetRow()
/CTR-SDK-4.2.5/include/nn/math/inline/
Dmath_Vector4.ipp20 VEC4
23 NN_MATH_INLINE VEC4*
24 VEC4Add(VEC4* pOut, const VEC4* p1, const VEC4* p2)
35 VEC4DistSq(const VEC4* p1, const VEC4* p2)
37 VEC4 tmp;
42 VEC4Dot(const VEC4* p1, const VEC4* p2)
48 VEC4IsZero(const VEC4* p)
54 VEC4IsZeroWOne(const VEC4* p)
60 VEC4Len(const VEC4* p)
67 VEC4LenSq(const VEC4* __restrict p)
[all …]
Dmath_Types.ipp114 NN_MATH_INLINE VEC4*
115 VEC3TransformArray(VEC4* pOut, const MTX44* __restrict pM, const VEC3* __restrict pV, u32 count)
118 VEC4* pDst = pOut;
204 NN_MATH_INLINE VEC4*
205 VEC4Transform(VEC4* pOut, const MTX44* __restrict pM, const VEC4* __restrict pV)
207 VEC4 tmp;
221 NN_MATH_INLINE VEC4*
222 VEC4TransformArray(VEC4* pOut, const MTX44* pM, const VEC4* pV, u32 count)
225 VEC4* pDst = pOut;
/CTR-SDK-4.2.5/include/nn/gr/CTR/
Dgr_BindSymbol.h172 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()
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()
Dgr_Utility.h240 … inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandVS()
266 …inline bit32* MakeUniformCommandVS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandVS()
366 … inline bit32* MakeUniformCommandGS( bit32* command, u8 location, const nn::math::VEC4& vec4 ) in MakeUniformCommandGS()
389 …inline bit32* MakeUniformCommandGS( bit32* command, u8 location, const nn::math::VEC4 vec4[], cons… in MakeUniformCommandGS()
/CTR-SDK-4.2.5/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-4.2.5/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-4.2.5/sources/libraries/math/
Dmath_Vector4.cpp41 VEC4::Report(bool bNewline, const char* name) const in Report()
/CTR-SDK-4.2.5/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-4.2.5/sources/libraries/math/ARMv6/
Dmath_Matrix44.cpp334 asm VEC4* VEC3TransformAsm(VEC4*, const MTX44*, const VEC3*) in VEC3TransformAsm() argument
/CTR-SDK-4.2.5/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;