Home
last modified time | relevance | path

Searched refs:F (Results 1 – 5 of 5) sorted by relevance

/CTR-SDK-1.0.0/CTR_SDK/include/nn/fnd/
Dfnd_Interlocked.h91 #define NN_UTIL_INTERLOCKED_DEFINE_ASSIGN_FUNC(F, op) \
92 struct F \
95 template <typename U> F(const U& operand) : m_operand(operand) {} \
108 #define NN_UTIL_INTERLOCKED_DEFINE_UNARY_FUNC(F, preop, postop) \
109 struct F \
237 #define NN_UTIL_INTERLOCKED_DEFINE_ASSIGN_OPERATOR(F, op) \
239 void operator op(V v) { F f(v); AtomicUpdateConditional(f); }
250 #define NN_UTIL_INTERLOCKED_DEFINE_UNARY_OPERATOR(F, op, premarker) …
251 …InterlockedVariable operator op(premarker) { F f; AtomicUpdateConditional(f); return f.result; } …
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/inline/
Dmath_Quaternion.ipp26 #define NN_QUAT_EPSILON 0.00001F
168 NN_ASSERT( q->w == 0.0F );
171 scale = 1.0F;
209 if ( scale > 0.0F )
217 pOut->w = 0.0F;
269 tq = 1.0F;
271 if ( cos_th < 0.0F )
277 if ( cos_th <= 1.0F - NN_QUAT_EPSILON )
281 tp = ::std::sinf((1.0F - t) * theta) / sin_th;
286 // cos(theta) is close to 1.0F -> linear
[all …]
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/ARMv6/inline/
Dmath_Quaternion.ipp26 #define NN_QUAT_EPSILON 0.00001F
121 mag = 1.0F / ::std::sqrtf(mag);
130 pOut->x = pOut->y = pOut->z = pOut->w = 0.0F;
155 mag = 1.0F / ::std::sqrtf(mag);
170 pOut->x = pOut->y = pOut->z = pOut->w = 0.0F;
Dmath_Matrix34.ipp938 m[0][3] = 0.0F;
939 m[1][3] = 0.0F;
940 m[2][3] = 0.0F;
/CTR-SDK-1.0.0/CTR_SDK/include/nn/math/
Dmath_Geometry.h498 IntersectionSphereFrustum(const SPHERE* S, const FRUSTUM* F) in IntersectionSphereFrustum() argument
500 return F->IntersectSphere(S); in IntersectionSphereFrustum()
504 IntersectionAABBFrustum(const AABB* B, const FRUSTUM* F) in IntersectionAABBFrustum() argument
506 return F->IntersectAABB(B); in IntersectionAABBFrustum()
511 IntersectionAABBFrustumEx(const AABB* B, const FRUSTUM* F) in IntersectionAABBFrustumEx() argument
513 return F->IntersectAABB_Ex(B); in IntersectionAABBFrustumEx()