diff --git a/src/nostalgia/geo/vec.hpp b/src/nostalgia/geo/vec.hpp index 9a01ab86..fc8117aa 100644 --- a/src/nostalgia/geo/vec.hpp +++ b/src/nostalgia/geo/vec.hpp @@ -8,7 +8,10 @@ #include #endif +#include #include +#include +#include #include #include #include @@ -19,6 +22,9 @@ struct Vec2 { using value_type = float; using size_type = std::size_t; + static constexpr auto TypeName = "net.drinkingtea.nostalgia.geo.Point"; + static constexpr auto TypeVersion = 1; + template struct iterator: public std::iterator { private: @@ -198,4 +204,9 @@ struct Vec2 { #endif }; +oxModelBegin(Vec2) + oxModelField(x) + oxModelField(y) +oxModelEnd() + } \ No newline at end of file