aboutsummaryrefslogtreecommitdiff
path: root/include/gfx/scene/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gfx/scene/camera.h')
-rw-r--r--include/gfx/scene/camera.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/include/gfx/scene/camera.h b/include/gfx/scene/camera.h
index 99d83fe..873f780 100644
--- a/include/gfx/scene/camera.h
+++ b/include/gfx/scene/camera.h
@@ -4,19 +4,10 @@
4 4
5typedef struct SceneNode SceneNode; 5typedef struct SceneNode SceneNode;
6 6
7typedef struct SceneCamera SceneCamera; 7typedef struct Camera Camera;
8 8
9/// Create a new camera. 9/// Create a new camera.
10SceneCamera* gfx_make_camera(); 10Camera* gfx_make_camera();
11 11
12/// Destroy the camera. 12/// Destroy the camera.
13/// 13void gfx_destroy_camera(Camera**);
14/// The camera is conveniently removed from the scene graph and its parent scene
15/// node is destroyed.
16void gfx_destroy_camera(SceneCamera**);
17
18/// Set the scene camera's math camera.
19void gfx_set_camera_camera(SceneCamera* scene_camera, Camera* camera);
20
21/// Get the scene camera's math camera.
22Camera* gfx_get_camera_camera(SceneCamera*);