diff options
Diffstat (limited to 'bindgen/ocaml/bindings/celeritas.h')
-rw-r--r-- | bindgen/ocaml/bindings/celeritas.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bindgen/ocaml/bindings/celeritas.h b/bindgen/ocaml/bindings/celeritas.h new file mode 100644 index 0000000..fce4d62 --- /dev/null +++ b/bindgen/ocaml/bindings/celeritas.h @@ -0,0 +1,21 @@ +/* The Goal of this file is to test ocaml-bindgen on it to start moving development over into OCaml */ + +// #include <stdbool.h> +// #include <stdint.h> + +typedef struct Core Core; +typedef struct GLFWwindow GLFWwindow; + +Core* get_global_core(); +void core_Bringup(void* optional_window); + +void frame_Begin(); +void frame_Draw(); +void frame_End(); + + +struct Vec2 { float x; float y; }; +typedef struct Vec3 { float x; float y; float z; } Vec3; +struct Vec4 { float x; float y; float z; float w; }; + +Vec3 vec3_add(Vec3 a, Vec3 b);
\ No newline at end of file |