Mercurial > touhou
view formats/src/th06/mod.rs @ 789:b5bca9274335
utils: Make some math functions const
Sadly f32::sqrt() isn’t const, so we can’t make normalize() const nor any
function which depends on it.
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Sun, 04 Jan 2026 11:49:03 +0100 |
| parents | ec1e06402a97 |
| children | 8c2ef2d503c9 |
line wrap: on
line source
//! Touhou 6: EoSD implementation. pub mod pbg3; pub mod anm0; pub mod ecl; pub mod std; pub mod msg; pub mod pos;
