added Yoga and TinyXML2 libraries and created a testing layout.xml

This commit is contained in:
2017-01-19 13:45:21 +00:00
parent 90ee10405d
commit 78ab808b8b
5 changed files with 45 additions and 4 deletions

View File

@@ -52,6 +52,12 @@ void App::init()
"void main(){"
" frag = col;"
"}";
tinyxml2::XMLDocument xml;
auto ret = xml.LoadFile("data\\layout.xml");
auto root = xml.RootElement();
// root->
shader.create(shader_v, shader_f);
shader_color.create(shader_color_v, shader_color_f);
shader_uv.create(shader_v, shader_uv_f);

View File

@@ -25,3 +25,7 @@
#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>