WardBenjamin / SimplexNoise

C# Simplex Noise (1D, 2D, 3D). Supports arbitrary sizes and scales.
BSD 3-Clause "New" or "Revised" License
160 stars 38 forks source link

Patch for /trunk/SimplexNoise/Noise.cs #5

Closed GoogleCodeExporter closed 6 years ago

GoogleCodeExporter commented 9 years ago
If you use for example
x = -0.170068026f;
y = -0.05668934f;

You'll get negative indices, so it should be wrapped around with Mod.

Original issue reported on code.google.com by karim.lu...@gmail.com on 25 Jan 2015 at 9:43

Attachments:

WardBenjamin commented 6 years ago

This is easy enough to implement yourself if you need it, and is not a core feature. Closing,