[EDIT] code style guide - toolbox & main

This commit is contained in:
Menno
2021-05-18 11:31:25 +02:00
parent 5047467206
commit 0517f9e897
10 changed files with 20 additions and 65 deletions

14
src/toolbox/math.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include "../entities/Camera.h"
#include <glm/gtc/matrix_transform.hpp>
namespace toolbox
{
#define WINDOW_WIDTH 1400.0f
#define WINDOW_HEIGT 800.0f
glm::mat4 CreateModelMatrix(glm::vec3 translation, glm::vec3 rotation, float scale);
glm::mat4 CreateViewMatrix(entities::Camera& camera);
}