From c5808488875484aca814bfc8e526f37f3f447166 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sat, 15 Jun 2024 16:38:05 +1000 Subject: shinchoku --- examples/cube/ex_cube.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'examples/cube/ex_cube.c') diff --git a/examples/cube/ex_cube.c b/examples/cube/ex_cube.c index 5f45b7f..26e6b71 100644 --- a/examples/cube/ex_cube.c +++ b/examples/cube/ex_cube.c @@ -16,6 +16,15 @@ extern core g_core; +// Scene / light setup +const vec3 pointlight_positions[4] = { + { -10.0, 10.0, 10.0}, + { 10.0, 10.0, 10.0}, + { -10.0, -10.0, 10.0}, + { 10.0, -10.0, 10.0}, +}; +point_light point_lights[4]; + // Define the shader data typedef struct mvp_uniforms { mat4 model; -- cgit v1.2.3-70-g09d2