pub struct Camera {
pub position: Vector,
pub forward: UnitVector,
pub up: UnitVector,
pub aspect_ratio: f32,
pub fovx: Radians,
}
Fields§
§position: Vector
§forward: UnitVector
§up: UnitVector
§aspect_ratio: f32
§fovx: Radians
Implementations§
Auto Trait Implementations§
impl Freeze for Camera
impl RefUnwindSafe for Camera
impl Send for Camera
impl Sync for Camera
impl Unpin for Camera
impl UnwindSafe for Camera
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more