atheriel / grunge

A coherent noise library in its very early stages.
2 stars 1 forks source link

Remove requirement for Vector2 in generate calls by using x, y, etc instead. #12

Closed atheriel closed 10 years ago

atheriel commented 10 years ago

At the moment NoiseModule.generate_2d() takes a Vector2 provided by cgmath. At the time I wrote them this seemed like a good choice. However, I think it now serves as a barrier to entry, and makes the API more confusing. It should be removed in favour of regular ol' x and y parameters.