 |
vlortho
NAME
vlortho - Multiple the current matrix
by a orthographic matrix
SYNOPSIS
#include <parvox.h>
void vlortho(float left, float right, float bottom,
float top, float near, float far)
DESCRIPTION
vlviewport()
describes a matrix that produces a parallel projection. left
and right
specify the coordinates for the left and right vertical clipping planes,
bottom
and top
specify the coordinates for the bottom and top horizontal clipping planes,
and near
and far
specify the distances to the nearer and farther depth cliping planes.
Both near
and far
can be negative which means that the plane is behind the viewer.
(left,
bottom,
-near)
and (right,
top,
-near)
specify the points on the near clippin plane that are mapped to the lower
left and upper right corners of the window, respectively, assuming that
the eye is located at (0, 0, 0). The current matrix is multiplied
by the orthographic matrix, with the product replacing the current matrix.
SEE ALSO
vlmatrix_mode,
vlviewport
BACK TO INDEX
|
 |