PerlinNim icon indicating copy to clipboard operation
PerlinNim copied to clipboard

Octave loop range fix

Open guzba opened this issue 5 years ago • 0 comments

Hello, I noticed that there is an issue with the octave range in the applyOctaves template. It will always run octaves + 1 times. This small change fixes the issue:

-    for i in 0..self.octaves:
+    for i in 0..<self.octaves:

guzba avatar Aug 23 '20 21:08 guzba