Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Jul 6, 2014
1 parent 2257498 commit 0e04a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UPDATES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ Here's an outline of the necessary changes.
* mat4.toInverseMat3(mvMatrix, normalMatrix) and mat3.transpose(normalMatrix) have been combined
into a single method in the mat3 class, mat3.normalFromMat4().

* the API of mat4.perspective has been rearranged so that
* the API of mat4.perspective() has been rearranged so that

mat4.perspective(45, gl.viewportWidth / gl.viewportHeight, 0.1, 100.0, pMatrix);

becomes

mat4.perspective (pMatrix, 45.0, gl.viewportWidth / gl.viewportHeight, 0.1, 100.0);
mat4.perspective(pMatrix, 45.0, gl.viewportWidth / gl.viewportHeight, 0.1, 100.0);

* the API for a number of relevant methods now take as arguments the matrix (or vector) to be
acted upon and the matrix (or vector) to receive the action. These include mat4.translate(),
Expand Down

0 comments on commit 0e04a0e

Please sign in to comment.