Files
SDBA/src/toolbox/math.h
2021-05-18 11:31:25 +02:00

15 lines
312 B
C++

#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);
}