[−][src]Struct ray_tracer::camera::perspective::PerspectiveCamera
Methods
impl<T> PerspectiveCamera<T> where
T: Float,
[src]
T: Float,
Trait Implementations
impl<T> Camera<T> for PerspectiveCamera<T> where
T: Float,
[src]
T: Float,
fn get_position(&self) -> &Vec3<T>
[src]
fn set_position(&mut self, position: &[T])
[src]
fn get_direction(&self) -> &Vec3<T>
[src]
fn set_direction(&mut self, direction: &[T])
[src]
fn get_lookat(&self) -> &Vec3<T>
[src]
fn set_lookat(&mut self, lookat: &[T])
[src]
fn get_up(&self) -> &Vec3<T>
[src]
fn set_up(&mut self, up: &[T])
[src]
fn get_aperture(&self) -> T
[src]
fn set_aperture(&mut self, aperture: T)
[src]
fn get_focus(&self) -> T
[src]
fn set_focus(&mut self, focus: T)
[src]
fn get_aspect(&self) -> T
[src]
fn set_aspect(&mut self, aspect: T)
[src]
fn get_fov(&self) -> T
[src]
fn set_fov(&mut self, fov: T)
[src]
fn get_ray(&self, r: T, s: T) -> Ray<T>
[src]
Auto Trait Implementations
impl<T> Send for PerspectiveCamera<T> where
T: Send,
T: Send,
impl<T> Sync for PerspectiveCamera<T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,