summaryrefslogtreecommitdiff
path: root/examples/game_demo/game_demo.c
diff options
context:
space:
mode:
authoromnisci3nce <omniscient.oce@gmail.com>2024-07-18 12:03:15 +1000
committeromnisci3nce <omniscient.oce@gmail.com>2024-07-18 12:03:15 +1000
commit4d198fe4f5cbe9e022776bdbd0bd8ec8094c8953 (patch)
tree4fbbf2feba811ded8923bd964f940f1c71c78c0d /examples/game_demo/game_demo.c
parentc3737fff1be704e14a2bada69bbf8a6709c5f670 (diff)
draw pbr container
Diffstat (limited to 'examples/game_demo/game_demo.c')
-rw-r--r--examples/game_demo/game_demo.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/game_demo/game_demo.c b/examples/game_demo/game_demo.c
index 10dd2be..73c879c 100644
--- a/examples/game_demo/game_demo.c
+++ b/examples/game_demo/game_demo.c
@@ -6,7 +6,6 @@
#include <assert.h>
#include "camera.h"
#include "core.h"
-#include "loaders.h"
#include "maths.h"
#include "primitives.h"
#include "ral_types.h"
@@ -15,8 +14,6 @@
#include "render_types.h"
#include "skybox.h"
#include "str.h"
-#include "terrain.h"
-#include "transform_hierarchy.h"
static const char* faces[6] = { "assets/demo/skybox/right.jpg", "assets/demo/skybox/left.jpg",
"assets/demo/skybox/top.jpg", "assets/demo/skybox/bottom.jpg",
@@ -70,7 +67,7 @@ int main() {
.pbr_ao_map = ao_map };
RenderEnt crate_renderable = {
- .mesh = &crate_mesh, .material = &crate_mat, .affine = mat4_ident(), .casts_shadows = true
+ .mesh = &crate_mesh, .material = &crate_mat, .affine = mat4_scale(3.0), .casts_shadows = true
};
RenderEnt entities[] = { crate_renderable };