From d7160d62b5d78e9191b4d61d7f491deb728cb478 Mon Sep 17 00:00:00 2001 From: quou Date: Sat, 13 Jul 2024 23:46:14 +1000 Subject: Model loading and basic lighting. --- standard.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 standard.h (limited to 'standard.h') diff --git a/standard.h b/standard.h new file mode 100644 index 0000000..8d58e78 --- /dev/null +++ b/standard.h @@ -0,0 +1,13 @@ +#ifndef standard_h +#define standard_h + +#define no_mangle extern "C" + +int string_equal(const char* a, const char* b); +int string_copy(char* dst, const char* src); + +/* Not safe! */ +int f_to_buf(int f, char* buf); +int int_to_buf(int n, char* buf); + +#endif -- cgit v1.2.3-54-g00ecf