/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #pragma once #include "Math/Math.hpp" #include namespace OpenVulkano::Input { struct PanInfo { Math::Vector2f position; Math::Vector2f distance; Math::Vector2f delta; }; struct PinchInfo { Math::Vector2f position; float scale = 0.0f; }; struct TapInfo { Math::Vector2f position; std::chrono::seconds duration; }; }