dialupnoises / simplexnoise

Automatically exported from code.google.com/p/simplexnoise
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 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: