Refactor engine to support double-precision vectors

This commit is contained in:
Wojtek Figat
2022-06-13 00:40:32 +02:00
parent f82e370392
commit a881c90b2e
744 changed files with 19062 additions and 12467 deletions

View File

@@ -664,13 +664,13 @@ public:
/// </summary>
/// <param name="screenPos">The screen position (in pixels).</param>
/// <returns>The monitor bounds.</returns>
API_FUNCTION() static Rectangle GetMonitorBounds(const Vector2& screenPos) = delete;
API_FUNCTION() static Rectangle GetMonitorBounds(const Float2& screenPos) = delete;
/// <summary>
/// Gets size of the primary desktop.
/// </summary>
/// <returns>Desktop size.</returns>
API_PROPERTY() static Vector2 GetDesktopSize() = delete;
API_PROPERTY() static Float2 GetDesktopSize() = delete;
/// <summary>
/// Gets virtual bounds of the desktop made of all the monitors outputs attached.
@@ -681,7 +681,7 @@ public:
/// <summary>
/// Gets virtual size of the desktop made of all the monitors outputs attached.
/// </summary>
API_PROPERTY() static Vector2 GetVirtualDesktopSize();
API_PROPERTY() static Float2 GetVirtualDesktopSize();
public: