aboutsummaryrefslogtreecommitdiff
path: root/vector.h
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-02-21 06:55:27 +0100
committerJulian T <julian@jtle.dk>2020-02-21 06:55:27 +0100
commit623fee395425ab33f14fb9cd8ffa790e362f59d7 (patch)
treec70b64e13fd5e00c2317fa40ee4b8cd786e635d5 /vector.h
parent63a84080f9f0e3d719d5470e370584a5eff18a47 (diff)
Added pgm drawing and got light ray tracing working
Still needs correct light simulation and reflections
Diffstat (limited to 'vector.h')
-rw-r--r--vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vector.h b/vector.h
index 5609215..2fcb648 100644
--- a/vector.h
+++ b/vector.h
@@ -2,7 +2,7 @@
#define VECTOR_H
#define COORD_T float
-#define ZERO_APROX 1e-6
+#define ZERO_APROX 1e-5
typedef struct {
COORD_T x;