diff options
Diffstat (limited to 'examples/cube/ex_cube.c')
-rw-r--r-- | examples/cube/ex_cube.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; |