32 lines
658 B
C++
32 lines
658 B
C++
#pragma once
|
|
|
|
#ifdef __APPLE__
|
|
#include <OpenGL/gl.h>
|
|
#include <OpenGL/gl3.h>
|
|
#elif _WIN32
|
|
#define _USE_MATH_DEFINES
|
|
#include <windows.h>
|
|
#include <gl\glew.h>
|
|
#include <gl\wglew.h>
|
|
#include <gl\GL.h>
|
|
#endif
|
|
|
|
#include <cmath>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <iostream>
|
|
|
|
#define GLM_FORCE_RADIANS
|
|
#define GLM_FORCE_SWIZZLE
|
|
#define GLM_FORCE_MESSAGES
|
|
#define GLM_ENABLE_EXPERIMENTAL
|
|
#include <glm/glm.hpp>
|
|
#include <glm/gtc/matrix_transform.hpp>
|
|
#include <glm/gtc/type_ptr.hpp>
|
|
#include <glm/gtx/rotate_vector.hpp>
|
|
#include <glm/gtx/euler_angles.hpp>
|
|
|
|
#include <tinyxml2.h>
|
|
#include <yoga/Yoga.h>
|
|
#include <yoga/Yoga.h>
|