12c259f0b4
This implements `UnitDualQuaternion` as an alternative to `Isometry3` for representing 3D isometries, which also provides the `sclerp` operation which can be used to perform screw-linear interpolation between two unit dual quaternions.
128 lines
2.5 KiB
Rust
128 lines
2.5 KiB
Rust
//! [Reexported at the root of this crate.] Data structures for points and usual transformations
|
|
//! (rotations, isometries, etc.)
|
|
|
|
mod op_macros;
|
|
|
|
mod abstract_rotation;
|
|
|
|
mod point;
|
|
#[cfg(feature = "alga")]
|
|
mod point_alga;
|
|
mod point_alias;
|
|
mod point_construction;
|
|
mod point_conversion;
|
|
mod point_coordinates;
|
|
mod point_ops;
|
|
mod point_simba;
|
|
|
|
mod rotation;
|
|
#[cfg(feature = "alga")]
|
|
mod rotation_alga;
|
|
mod rotation_alias;
|
|
mod rotation_construction;
|
|
mod rotation_conversion;
|
|
mod rotation_interpolation;
|
|
mod rotation_ops;
|
|
mod rotation_simba; // TODO: implement Rotation methods.
|
|
mod rotation_specialization;
|
|
|
|
mod quaternion;
|
|
#[cfg(feature = "alga")]
|
|
mod quaternion_alga;
|
|
mod quaternion_construction;
|
|
mod quaternion_conversion;
|
|
mod quaternion_coordinates;
|
|
mod quaternion_ops;
|
|
mod quaternion_simba;
|
|
|
|
mod dual_quaternion;
|
|
#[cfg(feature = "alga")]
|
|
mod dual_quaternion_alga;
|
|
mod dual_quaternion_construction;
|
|
mod dual_quaternion_conversion;
|
|
mod dual_quaternion_ops;
|
|
|
|
mod unit_complex;
|
|
#[cfg(feature = "alga")]
|
|
mod unit_complex_alga;
|
|
mod unit_complex_construction;
|
|
mod unit_complex_conversion;
|
|
mod unit_complex_ops;
|
|
mod unit_complex_simba;
|
|
|
|
mod translation;
|
|
#[cfg(feature = "alga")]
|
|
mod translation_alga;
|
|
mod translation_alias;
|
|
mod translation_construction;
|
|
mod translation_conversion;
|
|
mod translation_coordinates;
|
|
mod translation_ops;
|
|
mod translation_simba;
|
|
|
|
mod isometry;
|
|
#[cfg(feature = "alga")]
|
|
mod isometry_alga;
|
|
mod isometry_alias;
|
|
mod isometry_construction;
|
|
mod isometry_conversion;
|
|
mod isometry_interpolation;
|
|
mod isometry_ops;
|
|
mod isometry_simba;
|
|
|
|
mod similarity;
|
|
#[cfg(feature = "alga")]
|
|
mod similarity_alga;
|
|
mod similarity_alias;
|
|
mod similarity_construction;
|
|
mod similarity_conversion;
|
|
mod similarity_ops;
|
|
mod similarity_simba;
|
|
|
|
mod swizzle;
|
|
|
|
mod transform;
|
|
#[cfg(feature = "alga")]
|
|
mod transform_alga;
|
|
mod transform_alias;
|
|
mod transform_construction;
|
|
mod transform_conversion;
|
|
mod transform_ops;
|
|
mod transform_simba;
|
|
|
|
mod reflection;
|
|
|
|
mod orthographic;
|
|
mod perspective;
|
|
|
|
pub use self::abstract_rotation::AbstractRotation;
|
|
|
|
pub use self::point::*;
|
|
pub use self::point_alias::*;
|
|
|
|
pub use self::rotation::*;
|
|
pub use self::rotation_alias::*;
|
|
|
|
pub use self::quaternion::*;
|
|
|
|
pub use self::dual_quaternion::*;
|
|
|
|
pub use self::unit_complex::*;
|
|
|
|
pub use self::translation::*;
|
|
pub use self::translation_alias::*;
|
|
|
|
pub use self::isometry::*;
|
|
pub use self::isometry_alias::*;
|
|
|
|
pub use self::similarity::*;
|
|
pub use self::similarity_alias::*;
|
|
|
|
pub use self::transform::*;
|
|
pub use self::transform_alias::*;
|
|
|
|
pub use self::reflection::*;
|
|
|
|
pub use self::orthographic::Orthographic3;
|
|
pub use self::perspective::Perspective3;
|