fixed layout parser adding stack based recursion, code needs being cleaned up but layout works quite well now, added code draw while resizing

This commit is contained in:
2017-01-22 22:24:48 +00:00
parent 21622fd24c
commit e556cf4c61
7 changed files with 266 additions and 71 deletions

View File

@@ -1,7 +1,6 @@
#pragma once
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <OpenGL/gl3.h>
#elif _WIN32
#define _USE_MATH_DEFINES
@@ -13,6 +12,7 @@
#include <map>
#include <cmath>
#include <stack>
#include <memory>
#include <string>
#include <vector>
@@ -20,7 +20,7 @@
#define GLM_FORCE_RADIANS
#define GLM_FORCE_SWIZZLE
#define GLM_FORCE_MESSAGES
//#define GLM_FORCE_MESSAGES
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
@@ -30,4 +30,3 @@
#include <tinyxml2.h>
#include <yoga/Yoga.h>
#include <yoga/Yoga.h>