Skip to main content

loam_math/
lib.rs

1//! Geometry uses f32; transcendental results can differ across targets.
2
3pub mod bivector;
4pub mod blended;
5pub mod euclidean;
6pub mod euclidean_r2;
7pub mod euclidean_r4;
8pub mod hyperbolic;
9pub mod quotient;
10pub mod rasterizable;
11pub mod sectionable;
12pub mod space;
13pub mod spherical;
14pub mod spherical_embedded;
15
16pub use glam::Mat3;
17
18pub use bivector::{
19    Bivector, Bivector2, Bivector3, Bivector4, Plane4, Rotor, Rotor2, Rotor3, Rotor4,
20};
21pub use blended::{
22    BlendedSpace, BlendingField, ConformallyFlat, LinearBlendX, BLENDED_E3_H3_WGSL_RESIDUAL,
23};
24pub use euclidean::{EuclideanR3, Iso3};
25pub use euclidean_r2::{EuclideanR2, Iso2};
26pub use euclidean_r4::{EuclideanR4, Iso4Flat};
27pub use hyperbolic::{HyperbolicH3, Iso3H, H3_MAX_ARC, POINCARE_R2_MAX};
28pub use quotient::{CoveringSpace, FlatTorus3, LensSpace, QuotientSpace};
29pub use rasterizable::{Projection, RasterizableSpace, STEREOGRAPHIC_POLE_EPSILON};
30pub use sectionable::{WPlane, EDGE_PARALLEL_EPSILON, SLICE_PERTURBATION_EPSILON};
31pub use space::{IsometryGroup, Space, WgslAccuracy, WgslSpace, FLAT_CHART_MAX_ARC};
32pub use spherical::{Iso4, SphericalS3};
33pub use spherical_embedded::SphericalS3Embedded;