summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-07-19 17:01:00 +0800
committerchai <chaifix@163.com>2020-07-19 17:01:00 +0800
commit5b89a0fab0a46764c92979797681bf170125a7da (patch)
tree753d40800dc7dc423bd89e429e6154ca8441d654 /src/main.c
parent4deff343b5fd928ae9475eedcf9b6add34b31ae2 (diff)
*early back face culling
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 2b6e853..19dd7ab 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,6 +18,7 @@
#define SCREEN_HEIGHT 480.f
static char* instruction =
+
"/***********************************************/\n"
"/* SoftShadeRoom */\n"
"/* */\n"
@@ -38,8 +39,7 @@ static char* instruction =
" texture \n"
" bloom \n"
" fog \n"
-" shadow \n"
-" \n";
+" shadow \n";
typedef void(*Callback)(void*);
@@ -86,6 +86,7 @@ int main(int argc, char* argv[]) {
{5, 5}, {150, 150},
4000,
};
+ printf("Loading...\n");
onload(&cam_config);
scene.main_camera = camera_create(wnd, &cam_config);
gizmo_init();