Home
last modified time | relevance | path

Searched refs:l (Results 1 – 9 of 9) sorted by relevance

/CTR-SDK-4.2.8-20130828/include/nn/util/
Dutil_Rect.h63 Rect(f32 l, f32 t, f32 r, f32 b) in Rect()
64 : left(l), in Rect()
186 const f32 l = left; in Normalize() local
191 left = (r - l) >= 0 ? l : r; in Normalize()
192 right = (r - l) >= 0 ? r : l; in Normalize()
/CTR-SDK-4.2.8-20130828/include/nn/math/inline/
Dmath_Matrix34.ipp115 MTX34TextureProjectionFrustum(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 scaleS, f32 scale…
118 NN_ASSERT(l != r);
121 f32 reverseWidth = 1.0f / (r - l);
127 mtx[0][2] = (((r + l) * reverseWidth) * scaleS) - translateS;
144 MTX34TextureProjectionOrtho(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 scaleS, f32 scaleT, f32 tr…
147 NN_ASSERT(l != r);
150 f32 reverseWidth = 1.0f / (r - l);
157 mtx[0][3] = ((-(r + l) * reverseWidth) * scaleS) + translateS;
203 MTX34ShadowProjectionFrustum(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
206 NN_ASSERT(l != r);
[all …]
Dmath_Matrix44.ipp27 MTX44FrustumPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot)
29 MTX44Frustum( pOut, l, r, b, t, n, f );
164 MTX44OrthoPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot)
166 MTX44Ortho( pOut, l, r, b, t, n, f );
/CTR-SDK-4.2.8-20130828/include/nn/math/ARMv6/
Dmath_Matrix44.h30 NN_MATH_INLINE MTX44* MTX44FrustumC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
31 NN_MATH_INLINE MTX44* MTX44FrustumC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
32 NN_MATH_INLINE MTX44* MTX44OrthoC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
33 NN_MATH_INLINE MTX44* MTX44OrthoC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
/CTR-SDK-4.2.8-20130828/include/nn/math/
Dmath_Matrix44.h87 NN_FORCE_INLINE MTX44* MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
104 NN_MATH_INLINE MTX44* MTX44FrustumPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, Pivo…
226 NN_FORCE_INLINE MTX44* MTX44Ortho(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f);
243 NN_MATH_INLINE MTX44* MTX44OrthoPivot(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotD…
716 …self_type& SetupFrustum(f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot = PIVOT_NON…
718 return *MTX44FrustumPivot(this, l, r, b, t, n, f, pivot);
732 … self_type& SetupOrtho(f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, PivotDirection pivot = PIVOT_NONE)
734 return *MTX44OrthoPivot(this, l, r, b, t, n, f, pivot);
833 MTX44Frustum(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f) in MTX44Frustum() argument
837 return ARMv6::MTX44FrustumC(pOut, l, r, b, t, n, f); in MTX44Frustum()
[all …]
Dmath_MersenneTwister.h242 static inline bit32 MixBits(bit32 u, bit32 l);
Dmath_Matrix34.h402 NN_MATH_INLINE MTX34* MTX34ShadowProjectionFrustum(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, …
417 NN_MATH_INLINE MTX34* MTX34ShadowProjectionOrtho(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f3…
459 NN_MATH_INLINE MTX34* MTX34TextureProjectionFrustum(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 n,…
476 NN_MATH_INLINE MTX34* MTX34TextureProjectionOrtho(MTX34* pOut, f32 l, f32 r, f32 b, f32 t, f32 scal…
822 …self_type& SetupTextureProjectionFrustum(f32 l, f32 r, f32 b, f32 t, f32 n, f32 scaleS, f32 scaleT… in SetupTextureProjectionFrustum() argument
824 …return *MTX34TextureProjectionFrustum(this, l, r, b, t, n, scaleS, scaleT, translateS, translateT); in SetupTextureProjectionFrustum()
855 …self_type& SetupTextureProjectionFrustum(f32 l, f32 r, f32 b, f32 t, f32 scaleS, f32 scaleT, f32 t… in SetupTextureProjectionFrustum() argument
857 … return *MTX34TextureProjectionOrtho(this, l, r, b, t, scaleS, scaleT, translateS, translateT); in SetupTextureProjectionFrustum()
/CTR-SDK-4.2.8-20130828/sources/libraries/math/
Dmath_MersenneTwister.cpp216 inline bit32 MersenneTwister::MixBits(bit32 u, bit32 l) in MixBits() argument
218 return (u & MIX_MASK) | (l & ~MIX_MASK); in MixBits()
/CTR-SDK-4.2.8-20130828/include/nn/math/ARMv6/inline/
Dmath_Matrix44.ipp322 MTX44FrustumC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
326 // Note: Be careful about "l" vs. "1" below!!!
329 f32 tmp = 1.0f / (r - l);
332 m[0][2] = (r + l) * tmp;
357 MTX44FrustumC_FAST(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
361 // Note: Be careful about "l" vs. "1" below!!!
364 f32 tmp1 = 1.0f / (r - l);
371 m02 = (r + l) * tmp1;
421 MTX44OrthoC(MTX44* pOut, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f)
425 // Note: Be careful about "l" vs. "1" below!!!
[all …]