https://learn.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-xmvector2inbounds
XMVector2InBounds function (directxmath.h) - Win32 apps | Microsoft Learn
Tests whether the components of a 2D vector are within set bounds.
functionhappsmicrosoftlearn