Struct nalgebra::geometry::Orthographic3[][src]

pub struct Orthographic3<N: Real> { /* fields omitted */ }

A 3D orthographic projection stored as an homogeneous 4x4 matrix.

Methods

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

Creates a new orthographic projection matrix.

Wraps the given matrix to interpret it as a 3D orthographic matrix.

It is not checked whether or not the given matrix actually represents an orthographic projection.

Creates a new orthographic projection matrix from an aspect ratio and the vertical field of view.

Retrieves the inverse of the underlying homogeneous matrix.

Computes the corresponding homogeneous matrix.

A reference to the underlying homogeneous transformation matrix.

Retrieves the underlying homogeneous matrix.

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.

Projects a point. Faster than matrix multiplication.

Un-projects a point. Faster than multiplication by the underlying matrix inverse.

Projects a vector. Faster than matrix multiplication.

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.

Sets the view cuboid coordinates along the x axis.

Sets the view cuboid coordinates along the y axis.

Sets the near and far plane offsets of the view cuboid.

Trait Implementations

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter. Read more

impl<N: Real> 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: Real> Distribution<Orthographic3<N>> for Standard where
    Standard: Distribution<N>, 
[src]

Generate a random value of T, using rng as the source of randomness.

Important traits for DistIter<'a, D, R, T>

Create an iterator that generates random values of T, using rng as the source of randomness. Read more

Auto Trait Implementations

impl<N> Send for Orthographic3<N>

impl<N> Sync for Orthographic3<N>