Skip to content

Commit 862dc7f

Browse files
Add missing docs attributes (#271)
1 parent 78c8b4a commit 862dc7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.unity.render-pipelines.core/Runtime/Utilities/CoreMatrixUtils.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public static void TranslationTimesMatrix(ref Matrix4x4 inOutMatrix, Vector3 tra
5555
/// </summary>
5656
/// <param name="perspective">The perspective matrix to multiply with rhs.</param>
5757
/// <param name="rhs">A matrix to be multiply to perspective.</param>
58+
/// <returns>Returns the matrix that is the result of the multiplication.</returns>
5859
public static Matrix4x4 MultiplyPerspectiveMatrix(Matrix4x4 perspective, Matrix4x4 rhs)
5960
{
6061
Matrix4x4 outMat;
@@ -141,6 +142,7 @@ private static Matrix4x4 MultiplyGenericOrthoMatrix(Matrix4x4 ortho, Matrix4x4 r
141142
/// <param name="ortho">The ortho matrix to multiply with rhs.</param>
142143
/// <param name="rhs">A matrix to be multiply to perspective.</param>
143144
/// <param name="centered">If true, it means that right and left are equivalently distant from center and similarly top/bottom are equivalently distant from center.</param>
145+
/// <returns>Returns the matrix that is the result of the multiplication.</returns>
144146
public static Matrix4x4 MultiplyOrthoMatrix(Matrix4x4 ortho, Matrix4x4 rhs, bool centered)
145147
{
146148
return centered ? MultiplyGenericOrthoMatrix(ortho, rhs) : MultiplyOrthoMatrixCentered(ortho, rhs);
@@ -154,6 +156,7 @@ public static Matrix4x4 MultiplyOrthoMatrix(Matrix4x4 ortho, Matrix4x4 rhs, bool
154156
/// <param name="projMatrix">The projection matrix to multiply with rhs.</param>
155157
/// <param name="rhs">A matrix to be multiply to perspective.</param>
156158
/// <param name="orthoCentered">If true, the projection matrix is a centered ( right+left == top+bottom == 0) orthographic projection, otherwise it is a perspective matrix..</param>
159+
/// <returns>Returns the matrix that is the result of the multiplication.</returns>
157160
public static Matrix4x4 MultiplyProjectionMatrix(Matrix4x4 projMatrix, Matrix4x4 rhs, bool orthoCentered)
158161
{
159162
return orthoCentered

0 commit comments

Comments
 (0)