Cleanup XML visitor

This commit is contained in:
brunoherbelin
2020-03-31 21:08:25 +02:00
parent 42e398fd48
commit 96a9805377
5 changed files with 250 additions and 22 deletions

17
tinyxml2Toolkit.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef TINYXML2TOOLKIT_H
#define TINYXML2TOOLKIT_H
#include <glm/glm.hpp>
namespace tinyxml2 {
class XMLDocument;
class XMLElement;
tinyxml2::XMLElement *XMLElementGLM(tinyxml2::XMLDocument *doc, glm::vec3 vector);
tinyxml2::XMLElement *XMLElementGLM(tinyxml2::XMLDocument *doc, glm::vec4 vector);
tinyxml2::XMLElement *XMLElementGLM(tinyxml2::XMLDocument *doc, glm::mat4 matrix);
}
#endif // TINYXML2TOOLKIT_H