summaryrefslogtreecommitdiffhomepage
path: root/include/rodeo_types.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-04-14 16:45:29 -0400
committerrealtradam <[email protected]>2023-04-14 16:45:29 -0400
commit4b9437a5bf8dea4475a2dd5f433ee9729d6493c2 (patch)
tree7e4d76abcae19747043d29d87cfe85b99b2c625c /include/rodeo_types.h
parent3387c9fef273f2cc0674ea77ed950c0965299c4e (diff)
downloadRodeoKit-4b9437a5bf8dea4475a2dd5f433ee9729d6493c2.tar.gz
RodeoKit-4b9437a5bf8dea4475a2dd5f433ee9729d6493c2.zip
split off logging into seperate files
Diffstat (limited to 'include/rodeo_types.h')
-rw-r--r--include/rodeo_types.h41
1 files changed, 2 insertions, 39 deletions
diff --git a/include/rodeo_types.h b/include/rodeo_types.h
index 4ed7767..bc92fb4 100644
--- a/include/rodeo_types.h
+++ b/include/rodeo_types.h
@@ -1,9 +1,9 @@
#pragma once
-// external
+// -- external --
#include "stc/cstr.h"
-// system
+// -- system --
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
@@ -89,40 +89,3 @@ typedef struct
rodeo_frameBuffer_2d_t;
*/
-/// --- Log ---
-
-typedef
-enum
-{
- rodeo_logLevel_info,
- rodeo_logLevel_warning,
- rodeo_logLevel_error
-}
-rodeo_logLevel_t;
-
-typedef
-void
-(*rodeo_log_function)(cstr text);
-
-typedef
-union
-{
- struct {
- float x;
- float y;
- };
- float array[2];
-}
-rodeo_vector2_t;
-
-typedef
-union
-{
- struct {
- float x;
- float y;
- float z;
- };
- float array[3];
-}
-rodeo_vector3_t;