]> git.localhorst.tv Git - blank.git/blobdiff - src/io/TokenStreamReader.hpp
gcc 4.8.5/centos compatibility
[blank.git] / src / io / TokenStreamReader.hpp
index caa620705179c3e8ef51e10d04144d1c8043e2e0..c702703f6915c3e201bf71f759afb5b25794e966 100644 (file)
@@ -3,10 +3,10 @@
 
 #include "Token.hpp"
 #include "Tokenizer.hpp"
+#include "../graphics/glm.hpp"
 
 #include <iosfwd>
 #include <string>
-#include <glm/glm.hpp>
 
 
 namespace blank {
@@ -37,12 +37,16 @@ public:
        void ReadVec(glm::ivec3 &);
        void ReadVec(glm::ivec4 &);
 
+       void ReadQuat(glm::quat &);
+
        bool GetBool();
        float GetFloat();
        int GetInt();
        unsigned long GetULong();
 
 private:
+       void SkipComments();
+
        void Assert(Token::Type);
        Token::Type GetType() const noexcept;
        const std::string &GetValue() const noexcept;