Searched refs:rsq (Results 1 – 1 of 1) sorted by relevance
1121 f32 rsq = sphere->r * sphere->r; in IntersectionRay3Sphere() local1123 if (proj < 0.f && wsq > rsq) in IntersectionRay3Sphere()1128 if (vsq * wsq - proj * proj <= vsq * rsq) in IntersectionRay3Sphere()