pub struct LookAt(pub Box<[f32; 9]>);
Expand description
Contains a position and orientation transformation suitable for aiming a camera.
Tuple Fields§
§0: Box<[f32; 9]>
A list of 9 floating-point values. These values are organized into three vectors as follows:
- Eye position is given as Px, Py, Pz.
- Interest point is given as Ix, Iy, Iz.
- Up-axis direction is given as UPx, UPy, UPz.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LookAt
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