diff options
author | Julian T <julian@jtle.dk> | 2020-02-23 18:30:21 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-02-23 18:30:21 +0100 |
commit | b0079eaa628a1f2fd99014cd12e6baac17f4d17a (patch) | |
tree | 5925033b7d27a7f0263c19b7babc97fbeb700a93 /vector.h | |
parent | 9b40029e42f994aeff59ecc44a6d3b8fba93071d (diff) |
Added phong light model and fixed sphere intersect
Diffstat (limited to 'vector.h')
-rw-r--r-- | vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #ifndef VECTOR_H #define VECTOR_H -#define COORD_T float -#define ZERO_APROX 1e-5 +#define COORD_T double +#define ZERO_APROX 1e-6 typedef struct { COORD_T x; |