Codecleanup for #1482
This commit is contained in:
@@ -104,6 +104,16 @@ namespace FlaxEngine
|
||||
GetPlanesFromMatrix(ref pMatrix, out pNear, out pFar, out pLeft, out pRight, out pTop, out pBottom);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Creates a new instance of BoundingFrustum.
|
||||
/// </summary>
|
||||
/// <param name="matrix">Combined matrix that usually takes view × projection matrix.</param>
|
||||
public BoundingFrustum(ref Matrix matrix)
|
||||
{
|
||||
pMatrix = matrix;
|
||||
GetPlanesFromMatrix(ref pMatrix, out pNear, out pFar, out pLeft, out pRight, out pTop, out pBottom);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns a hash code for this instance.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user