Use a fixed size type for noise basis
This assists somewhat in de/serialising of noise parameters across architectures.
This commit is contained in:
parent
b960319436
commit
53456c9762
@ -29,7 +29,7 @@ namespace util {
|
|||||||
typedef double (*lerp_function)(double, double, double);
|
typedef double (*lerp_function)(double, double, double);
|
||||||
|
|
||||||
struct basis {
|
struct basis {
|
||||||
typedef size_t seed_t;
|
typedef uint64_t seed_t;
|
||||||
|
|
||||||
basis (seed_t);
|
basis (seed_t);
|
||||||
basis ();
|
basis ();
|
||||||
|
Loading…
Reference in New Issue
Block a user