aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/perlin.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/perlin.c')
-rw-r--r--test/c/perlin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/c/perlin.c b/test/c/perlin.c
index 79d49d62..29ebf964 100644
--- a/test/c/perlin.c
+++ b/test/c/perlin.c
@@ -63,9 +63,15 @@ static void init(void) {
p[256+i] = p[i] = permutation[i];
}
+#ifdef __K1C__
#define INCREMENT 0.5
#define MIN -3.0
#define MAX 3.0
+#else
+#define INCREMENT 0.1
+#define MIN -5.0
+#define MAX 5.0
+#endif
int main(int argc, char ** argv) {
init();