steel_math/lib.rs
1//! all the math of steel
2
3#![feature(portable_simd)]
4/// Shared angle constants.
5pub mod angle;
6pub mod float_consts;
7/// Math utilities used by vanilla world generation noise.
8mod noise_math;
9mod rounding;
10pub mod trig;
11/// Vanilla `Vec3` axis rotations.
12pub mod vector;
13
14pub use crate::angle::{
15 DEG_TO_RAD, DEG_TO_RAD_F64, DEGREE_90, DEGREE_180, DEGREE_270, DEGREE_360, RAD_TO_DEG,
16 RAD_TO_DEG_F64, convert_to_rotation_segment, wrap_degrees,
17};
18pub use crate::noise_math::*;
19pub use crate::rounding::round_f32;