From 4d198fe4f5cbe9e022776bdbd0bd8ec8094c8953 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Thu, 18 Jul 2024 12:03:15 +1000 Subject: draw pbr container --- examples/game_demo/game_demo.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'examples/game_demo/game_demo.c') 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 #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 }; -- cgit v1.2.3-70-g09d2