A 3D game engine from scratch.
at main 12 lines 442 B view raw
1// (c) 2020 Vlad-Stefan Harbuz <vlad@vladh.net> 2 3#pragma once 4 5#include <glm/glm.hpp> 6#include <glm/gtc/type_ptr.hpp> 7#include <glm/gtc/matrix_transform.hpp> 8#include <glm/gtc/matrix_access.hpp> 9#include <glm/gtx/quaternion.hpp> 10using glm::dot, glm::cross, glm::normalize, glm::abs, glm::max, glm::min, 11 glm::ceil, glm::floor, glm::degrees, glm::radians, glm::transpose, 12 glm::inverse, glm::length, glm::length2, glm::column, glm::row;