From 6e6d438d363dbcf3340cad2bbbdd5e28e7392d82 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 5 Oct 2019 09:34:31 +1300 Subject: [PATCH] Tidying --- libraries/script-engine/src/Mat4.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libraries/script-engine/src/Mat4.h b/libraries/script-engine/src/Mat4.h index 4a2a2b9bca..9e2f5c1f52 100644 --- a/libraries/script-engine/src/Mat4.h +++ b/libraries/script-engine/src/Mat4.h @@ -93,10 +93,10 @@ public slots: /**jsdoc * Creates a matrix from columns of values. * @function Mat4(0).createFromColumns - * @param {Vec4} col0 - Column 0. - * @param {Vec4} col1 - Column 1. - * @param {Vec4} col2 - Column 2. - * @param {Vec4} col3 - Column 3. + * @param {Vec4} col0 - Column 0 values. + * @param {Vec4} col1 - Column 1 values. + * @param {Vec4} col2 - Column 2 values. + * @param {Vec4} col3 - Column 3 valuse. * @returns {Mat4} The matrix with the specified columns values. * @example Create a matrix from columns. * var col0 = { x: 0.707107, y: 1.224745, z: -1.414214, w: 0.0 }; @@ -115,7 +115,7 @@ public slots: /**jsdoc * Creates a matrix from an array of values. * @function Mat4(0).createFromArray - * @param {number[]} arr - The array. + * @param {number[]} arr - The array of values, starting with column 0. * @returns {Mat4} The matrix with the specified values. * @example Create a matrix from an array. * var arr = [ @@ -288,6 +288,7 @@ public slots: */ glm::vec3 getUp(const glm::mat4& m) const; + /**jsdoc * Prints a matrix to the program log as a label followed by the matrix's values. * @function Mat4(0).print