Internal_ExtractPlanes() private static method

private static Internal_ExtractPlanes ( Plane planes, Matrix4x4 worldToProjectionMatrix ) : void
planes Plane
worldToProjectionMatrix Matrix4x4
return void
Ejemplo n.º 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);
 }
Ejemplo n.º 2
0
 public static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix)
 {
     Plane[] array = new Plane[6];
     GeometryUtility.Internal_ExtractPlanes(array, worldToProjectionMatrix);
     return(array);
 }