Added a dynamic array.

This commit is contained in:
2021-09-05 00:34:29 -07:00
parent c0d13042b4
commit cb447a6033
20 changed files with 403 additions and 25 deletions

21
src/display/scene.h Normal file
View File

@@ -0,0 +1,21 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <dawn/dawn.h>
#include "camera.h"
#include "shader.h"
void sceneInit(scene_t *scene);
sceneitem_t * sceneAdd(scene_t *scene);
void sceneUpdate(scene_t *scene, engine_t *engine);
void sceneRender(scene_t *scene, engine_t *engine, shader_t *shader);
void sceneDispose(scene_t *scene);