示例#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));
 }