Lines Matching refs:N
40 VEC3Normalize(&N, VEC3Cross(&v2, &v0, &v1)); in Set()
41 d = -VEC3Dot(&N, P0); in Set()
327 VEC3Sub(Q, P, VEC3Scale(&tmp, &J->N, k)); in DistSqPoint3ToPlane()
917 denom = VEC3Dot(&L->d, &J->N); in IntersectionLine3Plane()
921 if (FAbs(VEC3Dot(&J->N, &L->P) + J->d) < internal::epsilon) in IntersectionLine3Plane()
930 f32 t_ = -(VEC3Dot(&J->N, &L->P) + J->d) / denom; in IntersectionLine3Plane()
1335 f32 r = E.x * FAbs(J->N.x) + in IntersectionPlaneAABB()
1336 E.y * FAbs(J->N.y) + in IntersectionPlaneAABB()
1337 E.z * FAbs(J->N.z); in IntersectionPlaneAABB()
1340 f32 s = VEC3Dot(&J->N, &C) + J->d; in IntersectionPlaneAABB()
1420 Dist = viewPos.x * leftPlane.N.x + in IntersectSphere()
1421 viewPos.z * leftPlane.N.z; in IntersectSphere()
1427 Dist = viewPos.x * rightPlane.N.x + in IntersectSphere()
1428 viewPos.z * rightPlane.N.z; in IntersectSphere()
1440 Dist = viewPos.y * topPlane.N.y + in IntersectSphere()
1441 viewPos.z * topPlane.N.z; in IntersectSphere()
1447 Dist = viewPos.y * bottomPlane.N.y + in IntersectSphere()
1448 viewPos.z * bottomPlane.N.z; in IntersectSphere()
1471 p.x = (planes[i].N.x >= 0) ? B->Pmin.x : B->Pmax.x; in IntersectAABB()
1472 p.y = (planes[i].N.y >= 0) ? B->Pmin.y : B->Pmax.y; in IntersectAABB()
1473 p.z = (planes[i].N.z >= 0) ? B->Pmin.z : B->Pmax.z; in IntersectAABB()
1496 if (planes[i].N.x >= 0) in IntersectAABB_Ex()
1505 if (planes[i].N.y >= 0) in IntersectAABB_Ex()
1514 if (planes[i].N.z >= 0) in IntersectAABB_Ex()