You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computes a 4-by-4 orthographic projection matrix given the coordinates of the
planes defining the axis-aligned, box-shaped viewing volume. The matrix
generated sends that box to the unit box. Note that although left and right
are x coordinates and bottom and top are y coordinates, near and far
are not z coordinates, but rather they are distances along the negative
z-axis. We assume a unit box extending from -1 to 1 in the x and y
dimensions and from -1 to 1 in the z dimension.
There may be a mistake here, if z dimension used the same unit box as x and y wouldn't we have a phrase more like "We assume a unit box extending from -1 to 1 in the x, y and z dimensions"?
From reading the rest, it probably was meant to be:
We assume a unit box extending from -1 to 1 in the x and y dimensions and from -1 to 0 in the z dimension.
Same goes for frustum's description.
The text was updated successfully, but these errors were encountered:
2ndwolf
changed the title
m4.js Orthographic's description
m4.js : Possible mistake in Orthographic's documentation
Jul 30, 2017
Computes a 4-by-4 orthographic projection matrix given the coordinates of the
planes defining the axis-aligned, box-shaped viewing volume. The matrix
generated sends that box to the unit box. Note that although left and right
are x coordinates and bottom and top are y coordinates, near and far
are not z coordinates, but rather they are distances along the negative
z-axis. We assume a unit box extending from -1 to 1 in the x and y
dimensions and from -1 to 1 in the z dimension.
There may be a mistake here, if z dimension used the same unit box as x and y wouldn't we have a phrase more like "We assume a unit box extending from -1 to 1 in the x, y and z dimensions"?
From reading the rest, it probably was meant to be:
We assume a unit box extending from -1 to 1 in the x and y dimensions and from -1 to 0 in the z dimension.
Same goes for frustum's description.
The text was updated successfully, but these errors were encountered: