From e3c082974997db63d5599fab20a1b8c50c84afd3 Mon Sep 17 00:00:00 2001 From: FrancescoC-Unity Date: Mon, 27 Apr 2020 09:31:54 +0200 Subject: [PATCH] Add missing docs attributes --- .../Runtime/Utilities/CoreMatrixUtils.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/com.unity.render-pipelines.core/Runtime/Utilities/CoreMatrixUtils.cs b/com.unity.render-pipelines.core/Runtime/Utilities/CoreMatrixUtils.cs index e1f3eb1c8a8..21f4f2f06e1 100644 --- a/com.unity.render-pipelines.core/Runtime/Utilities/CoreMatrixUtils.cs +++ b/com.unity.render-pipelines.core/Runtime/Utilities/CoreMatrixUtils.cs @@ -55,6 +55,7 @@ public static void TranslationTimesMatrix(ref Matrix4x4 inOutMatrix, Vector3 tra /// /// The perspective matrix to multiply with rhs. /// A matrix to be multiply to perspective. + /// Returns the matrix that is the result of the multiplication. public static Matrix4x4 MultiplyPerspectiveMatrix(Matrix4x4 perspective, Matrix4x4 rhs) { Matrix4x4 outMat; @@ -141,6 +142,7 @@ private static Matrix4x4 MultiplyGenericOrthoMatrix(Matrix4x4 ortho, Matrix4x4 r /// The ortho matrix to multiply with rhs. /// A matrix to be multiply to perspective. /// If true, it means that right and left are equivalently distant from center and similarly top/bottom are equivalently distant from center. + /// Returns the matrix that is the result of the multiplication. public static Matrix4x4 MultiplyOrthoMatrix(Matrix4x4 ortho, Matrix4x4 rhs, bool centered) { return centered ? MultiplyGenericOrthoMatrix(ortho, rhs) : MultiplyOrthoMatrixCentered(ortho, rhs); @@ -154,6 +156,7 @@ public static Matrix4x4 MultiplyOrthoMatrix(Matrix4x4 ortho, Matrix4x4 rhs, bool /// The projection matrix to multiply with rhs. /// A matrix to be multiply to perspective. /// If true, the projection matrix is a centered ( right+left == top+bottom == 0) orthographic projection, otherwise it is a perspective matrix.. + /// Returns the matrix that is the result of the multiplication. public static Matrix4x4 MultiplyProjectionMatrix(Matrix4x4 projMatrix, Matrix4x4 rhs, bool orthoCentered) { return orthoCentered