Lines Matching refs:distToCenter
371 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; in rsIsSphereInFrustum() local
372 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
375 distToCenter = dot(right->xyz, sphere->xyz) + right->w; in rsIsSphereInFrustum()
376 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
379 distToCenter = dot(top->xyz, sphere->xyz) + top->w; in rsIsSphereInFrustum()
380 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
383 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; in rsIsSphereInFrustum()
384 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
387 distToCenter = dot(near->xyz, sphere->xyz) + near->w; in rsIsSphereInFrustum()
388 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
391 distToCenter = dot(far->xyz, sphere->xyz) + far->w; in rsIsSphereInFrustum()
392 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()