]> git.lizzy.rs Git - shadowclad.git/blob - src/engine/render.h
Add copyright and license notices in source code
[shadowclad.git] / src / engine / render.h
1 /**
2  * Copyright 2018-2020 Iwo 'Outfrost' Bujkiewicz
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
8
9 #ifndef ENGINE_RENDER_H_
10 #define ENGINE_RENDER_H_
11
12 #include <stdbool.h>
13 #include <GLFW/glfw3.h>
14
15 #include "scene.h"
16
17 extern float viewportAspectRatio;
18 extern const Scene* cameraAnchor;
19 extern bool debugScene;
20 extern bool debugRender;
21
22 void initRender();
23 void renderFrame(GLFWwindow* window);
24
25 #endif // ENGINE_RENDER_H_