Searched refs:F (Results 1 – 5 of 5) sorted by relevance
91 #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; } …
26 #define NN_QUAT_EPSILON 0.00001F168 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 …]
26 #define NN_QUAT_EPSILON 0.00001F121 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;
938 m[0][3] = 0.0F;939 m[1][3] = 0.0F;940 m[2][3] = 0.0F;
498 IntersectionSphereFrustum(const SPHERE* S, const FRUSTUM* F) in IntersectionSphereFrustum() argument500 return F->IntersectSphere(S); in IntersectionSphereFrustum()504 IntersectionAABBFrustum(const AABB* B, const FRUSTUM* F) in IntersectionAABBFrustum() argument506 return F->IntersectAABB(B); in IntersectionAABBFrustum()511 IntersectionAABBFrustumEx(const AABB* B, const FRUSTUM* F) in IntersectionAABBFrustumEx() argument513 return F->IntersectAABB_Ex(B); in IntersectionAABBFrustumEx()