Struct nalgebra::Orthographic3 [] [src]

pub struct Orthographic3<N> {
    // some fields omitted
}

A 3D orthographic projection stored without any matrix.

This flips the z axis and maps a axis-aligned cube to the unit cube with corners varying from (-1, -1, -1) to (1, 1, 1). Reading or modifying its individual properties is cheap but applying the transformation is costly.

Methods

impl<N: BaseFloat> Orthographic3<N>
[src]

Creates a new 3D orthographic projection.

Builds a 4D projection matrix (using homogeneous coordinates) for this projection.

Build a OrthographicMatrix3 representing this projection.

impl<N: BaseFloat> Orthographic3<N>
[src]

The smallest x-coordinate of the view cuboid.

The largest x-coordinate of the view cuboid.

The smallest y-coordinate of the view cuboid.

The largest y-coordinate of the view cuboid.

The near plane offset of the view cuboid.

The far plane offset of the view cuboid.

Sets the smallest x-coordinate of the view cuboid.

Sets the largest x-coordinate of the view cuboid.

Sets the smallest y-coordinate of the view cuboid.

Sets the largest y-coordinate of the view cuboid.

Sets the near plane offset of the view cuboid.

Sets the far plane offset of the view cuboid.

Projects a point.

Projects a vector.

Trait Implementations

impl<N: Copy> Copy for Orthographic3<N>
[src]

impl<N: Debug> Debug for Orthographic3<N>
[src]

Formats the value using the given formatter.

impl<N: Clone> Clone for Orthographic3<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Decodable> Decodable for Orthographic3<N>
[src]

impl<N: Encodable> Encodable for Orthographic3<N>
[src]

impl<N: PartialEq> PartialEq for Orthographic3<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Eq> Eq for Orthographic3<N>
[src]