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 години