3D cube render, basic interpolation, culling

This commit is contained in:
Krzosa Karol
2022-02-13 12:23:13 +01:00
commit d69180dbe6
9 changed files with 8528 additions and 0 deletions

7
main.h Normal file
View File

@@ -0,0 +1,7 @@
#pragma once
#define ASSERT(x) if(!(x)) *(volatile int *)0=0;
#define ARRAY_CAP(x) sizeof((x))/sizeof(*(x))
#define FUNCTION static
#define GLOBAL static
#define MIN(x,y) (x)>(y)?(y):(x)
#define MAX(x,y) (x)>(y)?(x):(y)