pub struct Camare {
pub x: f32,
pub y: f32,
pub z: f32,
pub dir: (f32, f32, f32),
pub roll: f32,
}Expand description
camare for the 3d scene x,y,z for position a 3d vector for direction and roll for roll the camare on its own axis
Fields§
§x: f32§y: f32§z: f32§dir: (f32, f32, f32)§roll: f32Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Camare
impl RefUnwindSafe for Camare
impl Send for Camare
impl Sync for Camare
impl Unpin for Camare
impl UnwindSafe for Camare
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more