Titan  v1.0
A high-performance CUDA-based physics simulation sandbox for robotics, physics, and reinforcement learning.
graphics.h
Go to the documentation of this file.
1 //
2 // Created by Jacob Austin on 5/29/18.
3 //
4 
5 #ifdef GRAPHICS
6 #ifndef TITAN_GRAPHICS_H
7 #define TITAN_GRAPHICS_H
8 
9 #define GLM_FORCE_PURE
10 
11 // Include GLEW
12 #include <GL/glew.h>
13 
14 // Include GLFW
15 #include <GLFW/glfw3.h>
16 
17 // Include GLM
18 #include <glm/glm.hpp>
19 #include <glm/gtc/matrix_transform.hpp>
20 using namespace glm;
21 
22 #include "vec.h"
23 
24 namespace titan {
25 
26 glm::mat4 getProjection(const titan::Vec & camera, const titan::Vec & looks_at, const titan::Vec & up);
27 
28 } // namespace titan
29 
30 #endif //TITAN_GRAPHICS_H
31 #endif
titan
Definition: mass.h:11
titan::Vec
Definition: vec.h:33
vec.h