Robert Garrett 601beb10a0 Control those Uniform distributions
I wanted to make the Uniform's into `const`s that live at the global
scope. Rust can do global const, but the `Uniform::new()` function
can't be used in that context.

As an intermediate to a *helpful* solution, I've just pushed them into a
struct. One less parameter to name even though it's the same stuff. The
compiler should be smart enough to hoist the initialization outside the
function and leave them around, but maybe not. After all, the function
isn't defined to work in such a way with the `const` keyword :v
2023-08-19 08:55:29 -05:00
2023-08-19 08:55:29 -05:00
2023-06-03 09:48:54 -05:00
Description
No description provided
AGPL-3.0 15 MiB
Languages
Rust 100%