diff --git a/Engine/Source/Runtime/Core/public/Math/Detail/IntVector2Decl.inl b/Engine/Source/Runtime/Core/public/Math/Detail/IntVector2Decl.inl index dccd592..0831627 100644 --- a/Engine/Source/Runtime/Core/public/Math/Detail/IntVector2Decl.inl +++ b/Engine/Source/Runtime/Core/public/Math/Detail/IntVector2Decl.inl @@ -234,6 +234,12 @@ namespace Phanes::Core::Math::Detail r.x = v1.x | v2.x; r.y = v1.y | v2.y; } + + static constexpr void map(Phanes::Core::Math::TIntVector2& r, const Phanes::Core::Math::TIntVector2& v1, const T s) + { + r.x = v1.x | s; + r.y = v1.y | s; + } }; template @@ -244,6 +250,12 @@ namespace Phanes::Core::Math::Detail r.x = v1.x ^ v2.x; r.y = v1.y ^ v2.y; } + + static constexpr void map(Phanes::Core::Math::TIntVector2& r, const Phanes::Core::Math::TIntVector2& v1, const T s) + { + r.x = v1.x ^ s; + r.y = v1.y ^ s; + } }; template @@ -254,6 +266,12 @@ namespace Phanes::Core::Math::Detail r.x = v1.x << v2.x; r.y = v1.y << v2.y; } + + static constexpr void map(Phanes::Core::Math::TIntVector2& r, const Phanes::Core::Math::TIntVector2& v1, const T s) + { + r.x = v1.x << s; + r.y = v1.y << s; + } }; template @@ -264,6 +282,12 @@ namespace Phanes::Core::Math::Detail r.x = v1.x >> v2.x; r.y = v1.y >> v2.y; } + + static constexpr void map(Phanes::Core::Math::TIntVector2& r, const Phanes::Core::Math::TIntVector2& v1, const T s) + { + r.x = v1.x >> s; + r.y = v1.y >> s; + } }; template