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