Enum ringraphics::Projection[][src]

pub enum Projection {
    Perspective {
        viewport: Rect<i32>,
        fov: Deg<f32>,
        znear: f32,
        zfar: f32,
        coordinate_origin: CoordinateOrigin,
    },
    Ortho {
        viewport: Rect<i32>,
        znear: f32,
        zfar: f32,
        coordinate_origin: CoordinateOrigin,
    },
}

Variants

Fields of Perspective

Fields of Ortho

Methods

impl Projection
[src]

Trait Implementations

impl Clone for Projection
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Projection
[src]

impl Debug for Projection
[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a Projection> for Mvp
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Projection

impl Sync for Projection