crogine/include/crogine/core/Mouse.hpp
/*!
    \brief Returns true if the given button is currently
    pressed, else returns false
    */
\brief Returns true if the given button is currently
pressed, else returns false
\ brief Returns true if the given button is currently pressed else returns false
static inline bool isButtonPressed(Button button)
    {
        std::int32_t x, y;
        return (SDL_BUTTON(int(button))& SDL_GetMouseState(&x, &y)) != 0;
    }
static inline bool isButtonPressed ( Button button ) { std :: int32_t x , y ; return ( SDL_BUTTON ( int ( button ) ) & SDL_GetMouseState ( & x , & y ) ) != 0 ; }
\brief Returns true if the given button is currently
pressed, else returns false
\ brief Returns true if the given button is currently pressed else returns false