blob: c998af93bb6223465decded4f66f1ea439f95dcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef HONEY_SCENE_H
#define HONEY_SCENE_H
#include "common.h"
#include "light.h"
#include "model.h"
#include "texture.h"
#define HONEY_SCENE_MAX_POINT_LIGHTS 8
#define HONEY_SCENE_MAX_DIRECTIONAL_LIGHTS 8
#define HONEY_SCENE_MAX_MODELS 8
#define HONEY_SCENE_MAX_TEXTURES 8
typedef struct {
honey_point_light point_lights[HONEY_SCENE_MAX_POINT_LIGHTS];
unsigned int n_point_lights;
honey_directional_light directional_lights[HONEY_SCENE_MAX_DIRECTIONAL_LIGHTS];
unsigned int n_directional_lights;
honey_mode models[HONEY_SCENE_MAX_MODELS];
unsigned int n_models;
} honey_scene;
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#endif
|