Skip to content

Commit

Permalink
Fixes typos documentation comments in mat4.js (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
LordArugula authored Nov 15, 2024
1 parent 587f7cf commit fdab302
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mat4.js
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ export function fromZRotation(out, rad) {
* mat4.multiply(dest, dest, quatMat);
*
* @param {mat4} out mat4 receiving operation result
* @param {quat4} q Rotation quaternion
* @param {quat} q Rotation quaternion
* @param {ReadonlyVec3} v Translation vector
* @returns {mat4} out
*/
Expand Down Expand Up @@ -1142,7 +1142,7 @@ export function getTranslation(out, mat) {
/**
* Returns the scaling factor component of a transformation
* matrix. If a matrix is built with fromRotationTranslationScale
* with a normalized Quaternion paramter, the returned vector will be
* with a normalized Quaternion parameter, the returned vector will be
* the same as the scaling vector
* originally supplied.
* @param {vec3} out Vector to receive scaling factor component
Expand Down Expand Up @@ -1312,7 +1312,7 @@ export function decompose(out_r, out_t, out_s, mat) {
* mat4.scale(dest, dest, scale)
*
* @param {mat4} out mat4 receiving operation result
* @param {quat4} q Rotation quaternion
* @param {quat} q Rotation quaternion
* @param {ReadonlyVec3} v Translation vector
* @param {ReadonlyVec3} s Scaling vector
* @returns {mat4} out
Expand Down Expand Up @@ -1374,7 +1374,7 @@ export function fromRotationTranslationScale(out, q, v, s) {
* mat4.translate(dest, dest, negativeOrigin);
*
* @param {mat4} out mat4 receiving operation result
* @param {quat4} q Rotation quaternion
* @param {quat} q Rotation quaternion
* @param {ReadonlyVec3} v Translation vector
* @param {ReadonlyVec3} s Scaling vector
* @param {ReadonlyVec3} o The origin vector around which to scale and rotate
Expand Down

0 comments on commit fdab302

Please sign in to comment.