summaryrefslogtreecommitdiff
path: root/src/scene.h
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-05-18 14:15:23 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-05-18 14:15:23 +1000
commitfcaf838886efc3c12f60b47c021c6a85965eb6e9 (patch)
tree9f65588a5a662b547f198635d987c50d6df26e46 /src/scene.h
parentf99fef4eb5b2c29a84d9e835a66b1afd333bcfc0 (diff)
initialise gpu resource pools in renderer
Diffstat (limited to 'src/scene.h')
-rw-r--r--src/scene.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/scene.h b/src/scene.h
index 24429b3..5a85e2e 100644
--- a/src/scene.h
+++ b/src/scene.h
@@ -32,7 +32,13 @@ void scene_free(scene* s);
// Simplified API - no scene pointer; gets and sets global scene
// Add/Remove objects from the scene
+ /* vec3 direction; */
+ /* vec3 ambient; */
+ /* vec3 diffuse; */
+ /* vec3 specular; */
void scene_set_dir_light(directional_light light);
+void _scene_set_dir_light(vec3 ambient, vec3 diffuse, vec3 specular, vec3 direction);
+
void scene_add_point_light(point_light light);
void scene_add_model(model_handle model, transform3d transform);
bool scene_remove_model(model_handle model);