Format code

This commit is contained in:
Wojtek Figat
2022-07-18 22:38:01 +02:00
parent 9ff0ad4734
commit 9f7f764359
16 changed files with 36 additions and 36 deletions

View File

@@ -57,7 +57,7 @@ namespace FlaxEditor.Options
/// Gets or sets if the panning direction is inverted for the viewport camera.
/// </summary>
[DefaultValue(false)]
[EditorDisplay("Defaults"), EditorOrder(150), Tooltip( "Invert the panning direction for the viewport camera." )]
[EditorDisplay("Defaults"), EditorOrder(150), Tooltip("Invert the panning direction for the viewport camera.")]
public bool DefaultInvertPanning { get; set; } = false;
}
}

View File

@@ -1,11 +1,11 @@
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#if USE_LARGE_WORLDS
using RealValueBox = FlaxEditor.GUI.Input.DoubleValueBox;
#else
using RealValueBox = FlaxEditor.GUI.Input.FloatValueBox;
#endif
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
using FlaxEngine;
using FlaxEngine.GUI;

View File

@@ -507,7 +507,7 @@ namespace FlaxEditor.Utilities
break;
case 13: // CommonType::Rect:
{
value = new Rectangle(stream.ReadSingle(), stream.ReadSingle(),stream.ReadSingle(), stream.ReadSingle());
value = new Rectangle(stream.ReadSingle(), stream.ReadSingle(), stream.ReadSingle(), stream.ReadSingle());
}
break;
case 15: // CommonType::Matrix

View File

@@ -1,11 +1,11 @@
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
#if USE_LARGE_WORLDS
using Real = System.Double;
#else
using Real = System.Single;
#endif
// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Viewport.Cameras