Esempio n. 1
0
 ContainmentType ICullPrimitive.IntersectWorldBox(ref Vector3 min, ref Vector3 max)
 {
     return(FrustumCull.AABBIntersectsFrustum(GetCullingPlanes(), ref min, ref max));
 }
Esempio n. 2
0
 bool ICullPrimitive.TestWorldBox(ref Vector3 min, ref Vector3 max)
 {
     return(FrustumCull.AABBInFrustum(GetCullingPlanes(), ref min, ref max));
 }
Esempio n. 3
0
 ContainmentType ICullPrimitive.IntersectWorldSphere(float radius, ref Vector3 position)
 {
     return(FrustumCull.SphereIntersectsFrustum(GetCullingPlanes(), radius, ref position));
 }
Esempio n. 4
0
 ContainmentType ICullPrimitive.IntersectWorldBox(ref Vector3 min, ref Vector3 max, ref Matrix world)
 {
     return(FrustumCull.BoxIntersectsFrustum(GetCullingPlanes(), ref min, ref max, ref world));
 }
Esempio n. 5
0
 bool ICullPrimitive.TestWorldSphere(float radius, ref Vector3 position)
 {
     return(FrustumCull.SphereInFrustum(GetCullingPlanes(), radius, ref position));
 }
Esempio n. 6
0
 bool ICullPrimitive.TestWorldBox(ref Vector3 min, ref Vector3 max, ref Matrix world)
 {
     return(FrustumCull.BoxInFrustum(GetCullingPlanes(), ref min, ref max, ref world));
 }