diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/procgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/procgen.cpp b/src/procgen.cpp index a57ed3a..5fab153 100644 --- a/src/procgen.cpp +++ b/src/procgen.cpp @@ -36,7 +36,7 @@ v2f_t prng_t::unit_vec2(void) { float t; t = next_float() * 2.0f * M_PI; - return {cos(t), sin(t)}; + return {cosf(t), sinf(t)}; } void perlin_noise_t::generate(prng_t *prng, size_t size_) |