summaryrefslogtreecommitdiff
path: root/example.h
diff options
context:
space:
mode:
authorkkard2 <[email protected]>2025-09-22 17:21:30 +0200
committerkkard2 <[email protected]>2025-09-22 17:21:30 +0200
commita17e7369bfe9cb4a23225084a396ec92823bad2b (patch)
treeb229b07c1a1c131467f61010eec985b62293897e /example.h
parent2d0894f9887f9e100d7546b6ca93934eced93e39 (diff)
reorganize examples
Diffstat (limited to 'example.h')
-rw-r--r--example.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/example.h b/example.h
deleted file mode 100644
index 29212aa..0000000
--- a/example.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#include <stdint.h>
-
-#define PI ((float)3.14159265358979323846)
-
-void init();
-void draw_frame(sponge_Texture c);
-void mouse_move(int32_t x, int32_t y);
-void draw_frame_3d(sponge_Texture c, float *depths);
-
-#ifdef SPONGE_EXAMPLE_IMPLEMENTATION
-
-#ifndef SPONGE_EXAMPLE_INIT_DEFINED
-void init() {}
-#endif // SPONGE_EXAMPLE_INIT_DEFINED
-
-#ifndef SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED
-void mouse_move(int32_t x, int32_t y) {}
-#endif // SPONGE_EXAMPLE_MOUSE_MOVE_DEFINED
-
-#ifndef SPONGE_EXAMPLE_DRAW_FRAME_3D_DEFINED
-void draw_frame_3d(sponge_Texture c, float *depths) {
- draw_frame(c);
-}
-#endif // SPONGE_EXAMPLE_DRAW_FRAME_3D_DEFINED
-
-#endif // SPONGE_EXAMPLE_IMPLEMENTATION