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

@@ -387,8 +387,8 @@ namespace FlaxEditor.Windows
base.Draw();
var color = Style.Current.Background * 0.8f;
Render2D.DrawLine(new Vector2(Width, 0), new Vector2(Width, Height), color);
Render2D.DrawLine(new Vector2(0, 48), new Vector2(Width, 48), color);
Render2D.DrawLine(new Float2(Width, 0), new Float2(Width, Height), color);
Render2D.DrawLine(new Float2(0, 48), new Float2(Width, 48), color);
}
}
@@ -517,7 +517,7 @@ namespace FlaxEditor.Windows
Orientation = Orientation.Vertical,
AnchorPreset = AnchorPresets.StretchAll,
Offsets = Margin.Zero,
TabsSize = new Vector2(120, 32),
TabsSize = new Float2(120, 32),
Parent = this
};