Format more engine code

This commit is contained in:
Wojtek Figat
2022-06-14 20:17:00 +02:00
parent 7c923198e0
commit b49e5e9984
219 changed files with 348 additions and 1236 deletions

View File

@@ -12,9 +12,8 @@
/// </remarks>
API_CLASS(NoSpawn) class FLAXENGINE_API Mouse : public InputDevice
{
DECLARE_SCRIPTING_TYPE_NO_SPAWN(Mouse);
DECLARE_SCRIPTING_TYPE_NO_SPAWN(Mouse);
public:
/// <summary>
/// The mouse state.
/// </summary>
@@ -45,7 +44,6 @@ public:
};
protected:
State _state;
State _prevState;
@@ -57,7 +55,6 @@ protected:
}
public:
/// <summary>
/// Gets the position of the mouse in the screen-space coordinates.
/// </summary>
@@ -116,7 +113,6 @@ public:
}
public:
/// <summary>
/// Sets the mouse position.
/// </summary>
@@ -175,7 +171,6 @@ public:
void OnMouseWheel(const Float2& position, float delta, Window* target = nullptr);
public:
// [InputDevice]
void ResetState() override;
bool Update(EventQueue& queue) final override;