pub struct RevolutionFrame {
pub origin: Vec3,
pub axis: Vec3,
pub x_axis: Vec3,
pub y_axis: Vec3,
}Fields§
§origin: Vec3A point on the revolution axis.
axis: Vec3Unit axis direction; positive rotation follows the right-hand rule.
x_axis: Vec3Unit radial direction of the u = 0 meridian.
y_axis: Vec3axis × x_axis, so azimuth θ = atan2(d·y_axis, d·x_axis).
Trait Implementations§
Source§impl Clone for RevolutionFrame
impl Clone for RevolutionFrame
Source§fn clone(&self) -> RevolutionFrame
fn clone(&self) -> RevolutionFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RevolutionFrame
impl RefUnwindSafe for RevolutionFrame
impl Send for RevolutionFrame
impl Sync for RevolutionFrame
impl Unpin for RevolutionFrame
impl UnsafeUnpin for RevolutionFrame
impl UnwindSafe for RevolutionFrame
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