pub fn new(left: N, right: N, bottom: N, top: N, znear: N, zfar: N) -> OrthographicMatrix3<N> {
        assert!(left < right, "The left corner must be farther than the right corner.");
        assert!(bottom < top, "The top corner must be higher than the bottom corner.");
        assert!(znear < zfar, "The far plane must be farther than the near plane.");

        let matrix: Matrix4<N> = ::one();

        let mut res = OrthographicMatrix3 { matrix: matrix };
        res.set_left_and_right(left, right);
        res.set_bottom_and_top(bottom, top);
        res.set_znear_and_zfar(znear, zfar);

        res
    }
/// Creates a new orthographic projection matrix.
Creates a new orthographic projection matrix.
Creates a new orthographic projection matrix .
pub fn new(left: N, right: N, bottom: N, top: N, znear: N, zfar: N) -> OrthographicMatrix3<N> {
        assert!(left < right, "The left corner must be farther than the right corner.");
        assert!(bottom < top, "The top corner must be higher than the bottom corner.");
        assert!(znear < zfar, "The far plane must be farther than the near plane.");
        let matrix: Matrix4<N> = ::one();
        let mut res = OrthographicMatrix3 { matrix: matrix };
        res.set_left_and_right(left, right);
        res.set_bottom_and_top(bottom, top);
        res.set_znear_and_zfar(znear, zfar);
        res
    }
pub fn new ( left : N , right : N , bottom : N , top : N , znear : N , zfar : N ) -> OrthographicMatrix3 < N > { assert ! ( left right " " ) ; assert ! ( bottom top " " ) ; assert ! ( znear zfar " " ) ; let matrix : Matrix4 < N > = :: one ( ) ; let mut res = OrthographicMatrix3 { matrix : matrix } ; res . set_left_and_right ( left , right ) ; res . set_bottom_and_top ( bottom , top ) ; res . set_znear_and_zfar ( znear , zfar ) ; res }
Creates a new orthographic projection matrix.
Creates a new orthographic projection matrix .
left
N
right
N
bottom
N
top
N
znear
N
zfar
N
left
N
right
N
bottom
N
top
N
znear
N
zfar
N