Ports OpenSimplex2 from https://github.com/KdotJPG/OpenSimplex2 to Odin. Adds tests for the noise procedures.

This commit is contained in:
NoahR02
2022-02-08 06:16:10 -05:00
parent 3c2ed3bb69
commit 817bc7434d
5 changed files with 1069 additions and 3 deletions
+5 -2
View File
@@ -1,7 +1,7 @@
ODIN=../../odin
PYTHON=$(shell which python3)
all: download_test_assets image_test compress_test strings_test hash_test crypto_test
all: download_test_assets image_test compress_test strings_test hash_test crypto_test noise_test
download_test_assets:
$(PYTHON) download_assets.py
@@ -19,4 +19,7 @@ hash_test:
$(ODIN) run hash -out=test_hash -o:speed -no-bounds-check
crypto_test:
$(ODIN) run crypto -out=crypto_hash -o:speed -no-bounds-check
$(ODIN) run crypto -out=crypto_hash -o:speed -no-bounds-check
noise_test:
$(ODIN) run math/noise -out=test_noise