From 789797a903696f8826e534ffcfdead159bb8d206 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 29 Dec 2023 19:26:41 -0500 Subject: [PATCH] 2d render --- include/blt/gfx/renderer/batch_2d_renderer.h | 27 ++++++++++++++++++++ src/blt/gfx/renderer/batch_2d_renderer.cpp | 23 +++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 include/blt/gfx/renderer/batch_2d_renderer.h create mode 100644 src/blt/gfx/renderer/batch_2d_renderer.cpp diff --git a/include/blt/gfx/renderer/batch_2d_renderer.h b/include/blt/gfx/renderer/batch_2d_renderer.h new file mode 100644 index 0000000..7865150 --- /dev/null +++ b/include/blt/gfx/renderer/batch_2d_renderer.h @@ -0,0 +1,27 @@ +/* + * + * Copyright (C) 2023 Brett Terpstra + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef BLT_WITH_GRAPHICS_BATCH_2D_RENDERER_H +#define BLT_WITH_GRAPHICS_BATCH_2D_RENDERER_H + +namespace blt::gfx +{ + +} + +#endif //BLT_WITH_GRAPHICS_BATCH_2D_RENDERER_H diff --git a/src/blt/gfx/renderer/batch_2d_renderer.cpp b/src/blt/gfx/renderer/batch_2d_renderer.cpp new file mode 100644 index 0000000..788763b --- /dev/null +++ b/src/blt/gfx/renderer/batch_2d_renderer.cpp @@ -0,0 +1,23 @@ +/* + * + * Copyright (C) 2023 Brett Terpstra + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +#include + +namespace blt::gfx +{ + +} \ No newline at end of file