Global ilumination

This commit is contained in:
Krzosa Karol
2022-02-20 20:49:55 +01:00
parent 03777764b7
commit 4b6cd41c01
3 changed files with 69 additions and 60 deletions

1
main.h
View File

@@ -5,6 +5,7 @@
#define GLOBAL static
#define MIN(x,y) ((x)>(y)?(y):(x))
#define MAX(x,y) ((x)>(y)?(x):(y))
#define CLAMP(min,x,max) MAX(min,MIN(max, x))
#define ABS(x) ((x)<0?-(x):(x))
#include <stdint.h>
typedef int64_t I64;