pub struct Iso4 {
pub matrix: Mat4,
}Expand description
SO(4) acting on the ambient embedding of S³.
Fields§
§matrix: Mat4Implementations§
Source§impl Iso4
impl Iso4
pub const IDENTITY: Self
Sourcepub fn from_rotation(rotation: Quat) -> Self
pub fn from_rotation(rotation: Quat) -> Self
Fixes the north pole.
Sourcepub fn from_translation(target: Vec3) -> Self
pub fn from_translation(target: Vec3) -> Self
Maps the north pole to target, clamped to the upper-hemisphere chart.
pub fn left_translation(point: Vec4) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Iso4
impl<'de> Deserialize<'de> for Iso4
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Iso4
impl StructuralPartialEq for Iso4
Auto Trait Implementations§
impl Freeze for Iso4
impl RefUnwindSafe for Iso4
impl Send for Iso4
impl Sync for Iso4
impl Unpin for Iso4
impl UnsafeUnpin for Iso4
impl UnwindSafe for Iso4
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