Home | History | Annotate | Download | only in runtime

Lines Matching full:sphere

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