Format code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user