Struct three::Orthographic
[−]
[src]
pub struct Orthographic { pub center: Point2<f32>, pub extent_y: f32, pub near: f32, pub far: f32, }
Orthographic projection parameters.
See Orthographic projection
.
Fields
center: Point2<f32>
extent_y: f32
Vertical extent from the center point. The height is double the extent. The width is derived from the height based on the current aspect ratio.
near: f32
far: f32
Trait Implementations
impl Clone for Orthographic
[src]
fn clone(&self) -> Orthographic
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Orthographic
[src]
impl PartialEq for Orthographic
[src]
fn eq(&self, __arg_0: &Orthographic) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Orthographic) -> bool
This method tests for !=
.