Core/Node: Refactor interface

- Removed overloads taking multiple scalars
- Removed CoordSys parameter (functions exists in two sets, local and global)
This commit is contained in:
SirLynix
2024-02-18 22:16:54 +01:00
committed by Jérôme Leclercq
parent 194dba5002
commit 63c526cecc
23 changed files with 444 additions and 462 deletions

View File

@@ -65,7 +65,7 @@ namespace Nz
{
WidgetEntry& entry = m_widgetEntries[index];
Nz::Vector3f pos = entry.widget->GetPosition(Nz::CoordSys::Global);
Nz::Vector3f pos = entry.widget->GetGlobalPosition();
Nz::Vector2f size = entry.widget->GetSize();
entry.box = Boxf(pos.x, pos.y, pos.z, size.x, size.y, 1.f);