X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Firr_v3d.h;h=3e95c7913ca084678b09eabb9f7d40620d578617;hb=37923920a07f06d201662d8f1f4e5821efcc7b09;hp=49c2e60cebf61ea228553a5ef22f5992ef1d0225;hpb=528908a4c3dd190cb7a6007df1e3fcd8e4604bfa;p=oweals%2Fminetest.git diff --git a/src/irr_v3d.h b/src/irr_v3d.h index 49c2e60ce..3e95c7913 100644 --- a/src/irr_v3d.h +++ b/src/irr_v3d.h @@ -18,29 +18,13 @@ with this program; if not, write to the Free Software Foundation, Inc., */ #pragma once + #include "irrlichttypes.h" + #include -#include typedef core::vector3df v3f; typedef core::vector3d v3d; typedef core::vector3d v3s16; typedef core::vector3d v3u16; typedef core::vector3d v3s32; - -namespace std -{ -template <> struct hash -{ - typedef v3s16 argument_type; - typedef std::size_t result_type; - result_type operator()(const argument_type &s) const noexcept - { - // clang-format off - return static_cast((static_cast(s.X) << 20) ^ - (static_cast(s.Y) << 10) ^ - (static_cast(s.Z))); - // clang-format on - } -}; -}