Sam Hocevar
7558d0664a
image: more method renaming for consistency.
пре 7 година
Sam Hocevar
078751a820
math: all API functions dealing with angles now use radians.
We already have the convenient degrees() and radians() functions to convert
between angle formats. This commit involves a lot of refactoring here and
there and I may have missed some places where conversions were needed. But
hopefully there aren’t may such places.
пре 9 година
Sam Hocevar
d72cb24bc0
build: move sample and tutorial files around.
пре 10 година
Sam Hocevar
5d9488182f
math: extract the gradient generator from simplex noise so that we
can reuse it for other noise implementations.
пре 10 година
Sam Hocevar
b0b5bcc6fa
math: tweak simplex noise scale according to dimension.
пре 10 година
Sam Hocevar
0af8c1fd6f
math: shitloads of tweaks, optimisations, fixes and comments to the
simplex noise code.
пре 10 година
Sam Hocevar
45da3662d4
test: add 7-dimensional simplex noise test.
пре 10 година
Sam Hocevar
5065a2653c
simplex: replace the N-dimensional gradient array with a simple seed.
пре 10 година
Sam Hocevar
4c95301d31
simplex: use scaling values that match Stefan Gustavson’s paper.
пре 10 година
Sam Hocevar
7ff3456239
simplex: optimisation; reduce the number of matrix multiplications.
пре 10 година
Sam Hocevar
a4cbf3fcb2
test: fix vertex positions to match our simplex implementation.
пре 10 година
Sam Hocevar
88603c1ecf
test: add simplex noise test program.
пре 10 година