Add vector types

This commit is contained in:
Fierelier 2023-08-09 23:24:53 +02:00
parent 6eb0918624
commit db606c460b

View File

@ -21,6 +21,11 @@ struct ENGINE_COLOR { unsigned char r; unsigned char g; unsigned char b; unsigne
// WINDOWS
struct ENGINE_WINDOW { struct ENGINE_TEXTURE * texture; struct ENGINE_FRONTEND_WINDOW * fe_window; };
// VECTORS
struct ENGINE_VECTOR_2D { float x; float y; };
struct ENGINE_VECTOR_3D { float x; float y; float z; };
struct ENGINE_VECTOR_TEX { int x; int y; };
// EVENTS
struct ENGINE_EVENT { char type; void * data; };
static char ENGINE_EVENT_TYPE_UNKNOWN = 0;