Internal_ExtractPlanes() 개인적인 정적인 메소드

private static Internal_ExtractPlanes ( Plane planes, Matrix4x4 worldToProjectionMatrix ) : void
planes Plane
worldToProjectionMatrix Matrix4x4
리턴 void
예제 #1
0
 public static void CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix, Plane[] planes)
 {
     if (planes == null)
     {
         throw new ArgumentNullException("planes");
     }
     if (planes.Length != 6)
     {
         throw new ArgumentException("Planes array must be of length 6.", "planes");
     }
     GeometryUtility.Internal_ExtractPlanes(planes, worldToProjectionMatrix);
 }
예제 #2
0
 public static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix)
 {
     Plane[] array = new Plane[6];
     GeometryUtility.Internal_ExtractPlanes(array, worldToProjectionMatrix);
     return(array);
 }