mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 13:12:52 +02:00
Tidying
This commit is contained in:
parent
a56f82c1ba
commit
6e6d438d36
1 changed files with 6 additions and 5 deletions
|
@ -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 <caption>Create a matrix from columns.</caption>
|
||||
* 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 <caption>Create a matrix from an array.</caption>
|
||||
* 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
|
||||
|
|
Loading…
Reference in a new issue