Use a fixed size type for noise basis

This assists somewhat in de/serialising of noise parameters across
architectures.
This commit is contained in:
Danny Robson 2012-06-08 16:49:38 +10:00
parent b960319436
commit 53456c9762

View File

@ -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 ();