bb_geometry/
lib.rs

1//!  # Geometry4D
2//!
3//!  `Geometry4D` is a small crate for myself, which provides some limited functionality for
4//! vectors and rotations in four-dimensional Euclidean space.
5//!
6//! Copyright (C) 2025 Benjamin Bahr
7//!
8//! This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
9//!
10//! This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
11//!
12//! You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
13
14pub mod vector;
15pub mod rotation;
16
17pub const ALMOST_ZERO: f64 = 0.000000001;