Struct tridify_rs::Projection
source · pub struct Projection {
pub aspect: f32,
pub fov: f32,
pub znear: f32,
pub zfar: f32,
}
Expand description
Projection representation using field of view and aspect ratio.
Fields§
§aspect: f32
§fov: f32
§znear: f32
§zfar: f32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnwindSafe for Projection
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere R: Read + ReadEndian<P>, P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.