Searched refs:lenSqr (Results 1 – 10 of 10) sorted by relevance
237 btScalar lenSqr =m_cachedSeparatingAxis.length2(); in btComputeGjkEpaPenetration() local240 if (lenSqr < 0.0001) in btComputeGjkEpaPenetration()244 if (lenSqr > SIMD_EPSILON*SIMD_EPSILON) in btComputeGjkEpaPenetration()246 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in btComputeGjkEpaPenetration()286 btScalar lenSqr = tmpNormalInB.length2(); in btComputeGjkEpaPenetration() local287 if (lenSqr <= (SIMD_EPSILON*SIMD_EPSILON)) in btComputeGjkEpaPenetration()290 lenSqr = m_cachedSeparatingAxis.length2(); in btComputeGjkEpaPenetration()293 if (lenSqr > (SIMD_EPSILON*SIMD_EPSILON)) in btComputeGjkEpaPenetration()295 tmpNormalInB /= btSqrt(lenSqr); in btComputeGjkEpaPenetration()
275 btScalar lenSqr =m_cachedSeparatingAxis.length2(); in getClosestPointsNonVirtual() local278 if (lenSqr < 0.0001) in getClosestPointsNonVirtual()282 if (lenSqr > SIMD_EPSILON*SIMD_EPSILON) in getClosestPointsNonVirtual()284 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in getClosestPointsNonVirtual()331 btScalar lenSqr = tmpNormalInB.length2(); in getClosestPointsNonVirtual() local332 if (lenSqr <= (SIMD_EPSILON*SIMD_EPSILON)) in getClosestPointsNonVirtual()335 lenSqr = m_cachedSeparatingAxis.length2(); in getClosestPointsNonVirtual()338 if (lenSqr > (SIMD_EPSILON*SIMD_EPSILON)) in getClosestPointsNonVirtual()340 tmpNormalInB /= btSqrt(lenSqr); in getClosestPointsNonVirtual()
963 btScalar lenSqr = tmpNormalInB.length2();964 if (lenSqr <= (SIMD_EPSILON*SIMD_EPSILON))967 lenSqr = results.normal.length2();970 if (lenSqr > (SIMD_EPSILON*SIMD_EPSILON))972 tmpNormalInB /= btSqrt(lenSqr);
34 btScalar lenSqr = vec.length2(); in localGetSupportingVertexWithoutMargin() local35 if (lenSqr < btScalar(0.0001)) in localGetSupportingVertexWithoutMargin()40 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportingVertexWithoutMargin()
38 btScalar lenSqr = vec.length2(); in localGetSupportingVertexWithoutMargin() local39 if (lenSqr < btScalar(0.0001)) in localGetSupportingVertexWithoutMargin()44 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportingVertexWithoutMargin()
55 btScalar lenSqr = vec.length2(); in localGetSupportingVertexWithoutMargin() local56 if (lenSqr < (SIMD_EPSILON*SIMD_EPSILON)) in localGetSupportingVertexWithoutMargin()61 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportingVertexWithoutMargin()
84 btScalar lenSqr = vec.length2(); in localGetSupportingVertexWithoutMargin() local85 if (lenSqr < btScalar(0.0001)) in localGetSupportingVertexWithoutMargin()90 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportingVertexWithoutMargin()
334 btScalar lenSqr = vec.length2(); in localGetSupportingVertexWithoutMargin() local335 if (lenSqr < btScalar(0.0001)) in localGetSupportingVertexWithoutMargin()340 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportingVertexWithoutMargin()
239 btScalar lenSqr = vec.length2(); in localGetSupportVertexWithoutMarginNonVirtual() local240 if (lenSqr < btScalar(0.0001)) in localGetSupportVertexWithoutMarginNonVirtual()245 btScalar rlen = btScalar(1.) / btSqrt(lenSqr ); in localGetSupportVertexWithoutMarginNonVirtual()
154 btScalar lenSqr = ptsVector.length2(); in capsuleCapsuleDistance() local155 if (lenSqr<= (SIMD_EPSILON*SIMD_EPSILON)) in capsuleCapsuleDistance()163 normalOnB = ptsVector*-btRecipSqrt(lenSqr); in capsuleCapsuleDistance()