X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fio%2FTokenStreamReader.hpp;h=9436aba3f3dc355a3d8d050c102d43a4d8e42ed9;hb=7c9675c5678f94bfbdf96e55f2865c53bd42fe7e;hp=caa620705179c3e8ef51e10d04144d1c8043e2e0;hpb=ede25c0a2f59e21521d1cd962e6ea9d78169ca12;p=blank.git diff --git a/src/io/TokenStreamReader.hpp b/src/io/TokenStreamReader.hpp index caa6207..9436aba 100644 --- a/src/io/TokenStreamReader.hpp +++ b/src/io/TokenStreamReader.hpp @@ -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;