Scenes have a Camera object
This commit is contained in:
parent
6d253aab10
commit
9508b01e10
2 changed files with 4 additions and 0 deletions
|
@ -10,11 +10,13 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include "basics.h"
|
||||
#include "camera.h"
|
||||
|
||||
|
||||
typedef struct _Scene
|
||||
{
|
||||
int height, width; /* Pixel dimensions. */
|
||||
Camera *camera;
|
||||
} Scene;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue