pub struct LookAt {
pub pos: Vec3,
pub target: Vec3,
pub up: Vec3,
}Expand description
LookAt struct
Struct describing a look at camera.
Fields§
§pos: Vec3Position of the camera
target: Vec3Target point of the camera
up: Vec3Up vector of the camera
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LookAt
impl Send for LookAt
impl Sync for LookAt
impl Unpin for LookAt
impl UnwindSafe for LookAt
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