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

@@ -90,7 +90,7 @@ namespace FlaxEditor.Windows
protected override bool ShowTooltip => true;
public override bool OnShowTooltip(out string text, out Vector2 location, out Rectangle area)
public override bool OnShowTooltip(out string text, out Float2 location, out Rectangle area)
{
if (TooltipText == null)
TooltipText = Editor.Instance.CodeDocs.GetTooltip(_type);
@@ -124,7 +124,7 @@ namespace FlaxEditor.Windows
UseScroll = true,
AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero,
TabsSize = new Vector2(120, 32),
TabsSize = new Float2(120, 32),
Parent = this,
};
@@ -327,7 +327,7 @@ namespace FlaxEditor.Windows
{
AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero,
TabsSize = new Vector2(tabSize, tabSize),
TabsSize = new Float2(tabSize, tabSize),
Parent = this
};