Struct Position
#[repr(C)]pub struct Position {
pub position: [f32; 3],
pub front: [f32; 3],
pub top: [f32; 3],
}Expand description
Position structure.
Fields§
§position: [f32; 3]Position in space.
front: [f32; 3]Unit vector pointing out of the eyes, aka the “At”-vector.
top: [f32; 3]Unit vector pointing out of the top of the head, aka the “Up”-vector.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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