summaryrefslogtreecommitdiff
path: root/FrameRender/P_Square.h
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2026-03-28 20:33:03 +0200
committerSyndamia <kamen@syndamia.com>2026-03-28 20:33:03 +0200
commitd31239eeeac4ea595b1d1e7063ab5d762809fb02 (patch)
treeaa0d5f426a2dc439ad863b9e3ec017c5776f528e /FrameRender/P_Square.h
parent56099072165578b505a6c81e187cf392b9bd5a2e (diff)
downloadppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.tar
ppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.tar.gz
ppm_graphics-d31239eeeac4ea595b1d1e7063ab5d762809fb02.zip
feat!: Complete rewrite
This new scheme will be much simpler
Diffstat (limited to 'FrameRender/P_Square.h')
-rw-r--r--FrameRender/P_Square.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/FrameRender/P_Square.h b/FrameRender/P_Square.h
new file mode 100644
index 0000000..1cfbc45
--- /dev/null
+++ b/FrameRender/P_Square.h
@@ -0,0 +1,14 @@
+#ifndef P_SQUARE
+#define P_SQUARE
+
+#include "PixelCallback.h"
+
+typedef struct Square {
+ u32 width;
+ u32 height;
+ color color;
+} Square;
+
+PixelCallback* Square_setup(Square obj);
+
+#endif /* P_SQUARE */