Closed karlramberg closed 5 years ago
Open Simplex noise won't be implemented into the final app for now. Will fix this later if I want to switch away from my implementation of Perlin noise.
-Karl
https://github.com/karleramberg/ymir/blob/ed838aa76aeaee85adf44f501d84ee72d2d9fa92/opensimplex.go#L75 These should be a floor function. Int cast rounds towards zero, not down. It would suffice to check if int(x) is greater than x, and if so subtract one. Hope that helps!