diff options
Diffstat (limited to 'include/gfx/scene/camera.h')
| -rw-r--r-- | include/gfx/scene/camera.h | 15 | 
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 | ||
| 5 | typedef struct SceneNode SceneNode; | 5 | typedef struct SceneNode SceneNode; | 
| 6 | 6 | ||
| 7 | typedef struct SceneCamera SceneCamera; | 7 | typedef struct Camera Camera; | 
| 8 | 8 | ||
| 9 | /// Create a new camera. | 9 | /// Create a new camera. | 
| 10 | SceneCamera* gfx_make_camera(); | 10 | Camera* gfx_make_camera(); | 
| 11 | 11 | ||
| 12 | /// Destroy the camera. | 12 | /// Destroy the camera. | 
| 13 | /// | 13 | void gfx_destroy_camera(Camera**); | 
| 14 | /// The camera is conveniently removed from the scene graph and its parent scene | ||
| 15 | /// node is destroyed. | ||
| 16 | void gfx_destroy_camera(SceneCamera**); | ||
| 17 | |||
| 18 | /// Set the scene camera's math camera. | ||
| 19 | void gfx_set_camera_camera(SceneCamera* scene_camera, Camera* camera); | ||
| 20 | |||
| 21 | /// Get the scene camera's math camera. | ||
| 22 | Camera* gfx_get_camera_camera(SceneCamera*); | ||
