pub struct Camera3D { /* private fields */ }Implementations§
Source§impl Camera3D
impl Camera3D
pub fn new() -> Self
pub fn move_pos(&mut self, delta_v: &Vector3D)
pub fn move_psi(&mut self, delta_psi: f64)
pub fn move_theta(&mut self, delta_theta: f64)
pub fn move_phi(&mut self, delta_phi: f64)
pub fn adjust_fov(&mut self, delta_fov_x: f64, delta_fov_y: f64)
pub fn rotation_matrix(&self) -> Rotation3D
Auto Trait Implementations§
impl Freeze for Camera3D
impl RefUnwindSafe for Camera3D
impl Send for Camera3D
impl Sync for Camera3D
impl Unpin for Camera3D
impl UnwindSafe for Camera3D
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