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

@@ -73,7 +73,7 @@ namespace FlaxEditor.Windows
}
/// <inheritdoc />
protected override bool OnMouseDoubleClickHeader(ref Vector2 location, MouseButton button)
protected override bool OnMouseDoubleClickHeader(ref Float2 location, MouseButton button)
{
var node = GetNode(Tag);
((VisualScriptWindow)node?.Surface.Owner)?.ShowNode(node);
@@ -117,7 +117,7 @@ namespace FlaxEditor.Windows
}
}
private void OnTreeRightClick(TreeNode treeNode, Vector2 location)
private void OnTreeRightClick(TreeNode treeNode, Float2 location)
{
var menu = new ContextMenu
{
@@ -422,7 +422,7 @@ namespace FlaxEditor.Windows
{
AnchorPreset = AnchorPresets.StretchAll,
Offsets = new Margin(0, 0, toolstrip.Bottom, 0),
TabsSize = new Vector2(80, 20),
TabsSize = new Float2(80, 20),
TabsTextHorizontalAlignment = TextAlignment.Center,
UseScroll = true,
Parent = this