diff --git a/include/zeus/CMatrix3f.hpp b/include/zeus/CMatrix3f.hpp index 308ec40..21d9507 100644 --- a/include/zeus/CMatrix3f.hpp +++ b/include/zeus/CMatrix3f.hpp @@ -90,6 +90,13 @@ public: m[1][2] = input.readFloatBig(); m[2][2] = input.readFloatBig(); } + + static CMatrix3f ReadBig(athena::io::IStreamReader& input) + { + CMatrix3f ret; + ret.readBig(input); + return ret; + } #endif CMatrix3f(const CVector3f& axis, float angle); CMatrix3f(const CQuaternion& quat); diff --git a/include/zeus/CVector2f.hpp b/include/zeus/CVector2f.hpp index d8b81f8..2925a88 100644 --- a/include/zeus/CVector2f.hpp +++ b/include/zeus/CVector2f.hpp @@ -80,6 +80,13 @@ public: v[2] = 0.0f; v[3] = 0.0f; } + + static CVector2f ReadBig(athena::io::IStreamReader& input) + { + CVector2f ret; + ret.readBig(input); + return ret; + } #endif CVector2f(float xy) { splat(xy); }