pub struct TwoTurns {
pub axes: [(Vec3, Vec3); 2],
pub rates: [f64; 2],
pub from: f64,
pub to: f64,
}Expand description
Two turns driven by one parameter t: first by rates[0]·t about the
first axis (point, direction), then by rates[1]·t about the second; both
axes fixed in the world; t from from to to.
Fields§
§axes: [(Vec3, Vec3); 2]§rates: [f64; 2]§from: f64§to: f64Trait Implementations§
Auto Trait Implementations§
impl Forget for TwoTurns
impl Freeze for TwoTurns
impl Move for TwoTurns
impl RefUnwindSafe for TwoTurns
impl Send for TwoTurns
impl Sync for TwoTurns
impl Unpin for TwoTurns
impl UnsafeUnpin for TwoTurns
impl UnwindSafe for TwoTurns
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