pub struct Affine3<T: CoordinateScalar> {
pub m: [T; 16],
/* private fields */
}Expand description
4×4 affine matrix in homogeneous 3D coordinates. Same shape as
Affine2, one dimension up.
Fields§
§m: [T; 16]Row-major 4×4.
Implementations§
Source§impl<T: CoordinateScalar> Affine3<T>
impl<T: CoordinateScalar> Affine3<T>
Trait Implementations§
impl<T: Copy + CoordinateScalar> Copy for Affine3<T>
Source§impl<T, P> TransformStrategy<P> for Affine3<T>where
T: CoordinateScalar,
P: Point<Scalar = T>,
<P::Cs as CoordinateSystem>::Family: SameAs<CartesianFamily>,
impl<T, P> TransformStrategy<P> for Affine3<T>where
T: CoordinateScalar,
P: Point<Scalar = T>,
<P::Cs as CoordinateSystem>::Family: SameAs<CartesianFamily>,
Auto Trait Implementations§
impl<T> Freeze for Affine3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Affine3<T>where
T: RefUnwindSafe,
impl<T> Send for Affine3<T>where
T: Send,
impl<T> Sync for Affine3<T>where
T: Sync,
impl<T> Unpin for Affine3<T>where
T: Unpin,
impl<T> UnsafeUnpin for Affine3<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Affine3<T>where
T: UnwindSafe,
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