mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Merge branch 'main' into entities
This commit is contained in:
commit
a72a37ccf7
9 changed files with 37 additions and 43 deletions
|
|
@ -3,7 +3,9 @@
|
|||
#include "../../graphics/core/Batch2D.hpp"
|
||||
#include "../../engine.hpp"
|
||||
|
||||
Screen::Screen(Engine* engine) : engine(engine), batch(new Batch2D(1024)) {
|
||||
Screen::Screen(Engine* engine)
|
||||
: engine(engine),
|
||||
batch(std::make_unique<Batch2D>(1024)) {
|
||||
}
|
||||
|
||||
Screen::~Screen() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue