Searched refs:localHitNormal (Results 1 – 9 of 9) sorted by relevance
42 float4 localHitNormal; in computeContactSphereConvex() local77 localHitNormal = planeEqn; in computeContactSphereConvex()92 localHitNormal = tmp / dist; in computeContactSphereConvex()109 localHitNormal = planeEqn; in computeContactSphereConvex()119 float4 normalOnSurfaceB1 = tr.getBasis() * localHitNormal; //-hitNormalWorld; in computeContactSphereConvex()
307 Vector3 localHitNormal = (mPoints[1] - mPoints[0]).cross(mPoints[2] - mPoints[0]); in raycast() local308 if (localHitNormal.dot(pq) > decimal(0.0)) localHitNormal = -localHitNormal; in raycast()314 raycastInfo.worldNormal = localHitNormal; in raycast()
2360 float4 localHitNormal; in computeContactSphereConvex() local2395 localHitNormal = planeEqn; in computeContactSphereConvex()2410 localHitNormal = tmp / dist; in computeContactSphereConvex()2427 localHitNormal = planeEqn; in computeContactSphereConvex()2437 float4 normalOnSurfaceB1 = tr.getBasis() * localHitNormal; //-hitNormalWorld; in computeContactSphereConvex()