Optimizing Array add performance for large datasets

This commit is contained in:
Dynamitos
2020-03-16 13:29:17 +01:00
parent 3b55755f0c
commit 81b51d1c21
9 changed files with 101 additions and 8 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
#include "Window.h"
#include "SceneView.h"
Seele::Window::Window(const WindowCreateInfo& createInfo)
Seele::Window::Window(const WindowCreateInfo& createInfo, PGraphics graphics)
: width(createInfo.width)
, height(createInfo.height)
, graphics(graphics)
{
graphics = createInfo.graphics;
center = new Section();
center->resizeArea(Rect(1, 1, 0, 0));
center->addView(new SceneView(graphics));