Skip to content

Commit

Permalink
Align docs with parameters names
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM authored and toji committed Oct 7, 2024
1 parent 02bb0b7 commit 587f7cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/mat4.js
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ export function lookAt(out, eye, center, up) {
*
* @param {mat4} out mat4 frustum matrix will be written into
* @param {ReadonlyVec3} eye Position of the viewer
* @param {ReadonlyVec3} center Point the viewer is looking at
* @param {ReadonlyVec3} target Point the viewer is looking at
* @param {ReadonlyVec3} up vec3 pointing up
* @returns {mat4} out
*/
Expand Down
8 changes: 4 additions & 4 deletions src/vec4.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,10 @@ export function dot(a, b) {
/**
* Returns the cross-product of three vectors in a 4-dimensional space
*
* @param {ReadonlyVec4} result the receiving vector
* @param {ReadonlyVec4} U the first vector
* @param {ReadonlyVec4} V the second vector
* @param {ReadonlyVec4} W the third vector
* @param {ReadonlyVec4} out the receiving vector
* @param {ReadonlyVec4} u the first vector
* @param {ReadonlyVec4} v the second vector
* @param {ReadonlyVec4} w the third vector
* @returns {vec4} result
*/
export function cross(out, u, v, w) {
Expand Down

0 comments on commit 587f7cf

Please sign in to comment.