diff --git a/luprex/syscpp/util.hpp b/luprex/syscpp/util.hpp index 57c767b5..03fad372 100644 --- a/luprex/syscpp/util.hpp +++ b/luprex/syscpp/util.hpp @@ -44,7 +44,11 @@ uint32_t hash3(uint32_t a, uint32_t b, uint32_t c); // Returns a floating point value between lo and hi inclusive. double hash_to_float(double lo, double hi, uint32_t a, uint32_t b, uint32_t c); -using XYZ = std::tuple; +struct XYZ { + float x, y, z; + XYZ() { x=0; y=0; z=0; } + XYZ(float ix, float iy, float iz) { x=ix; y=iy; z=iz; } +}; } // namespace util #endif // UTIL_HPP