Add vector types
This commit is contained in:
parent
6eb0918624
commit
db606c460b
@ -21,6 +21,11 @@ struct ENGINE_COLOR { unsigned char r; unsigned char g; unsigned char b; unsigne
|
|||||||
// WINDOWS
|
// WINDOWS
|
||||||
struct ENGINE_WINDOW { struct ENGINE_TEXTURE * texture; struct ENGINE_FRONTEND_WINDOW * fe_window; };
|
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
|
// EVENTS
|
||||||
struct ENGINE_EVENT { char type; void * data; };
|
struct ENGINE_EVENT { char type; void * data; };
|
||||||
static char ENGINE_EVENT_TYPE_UNKNOWN = 0;
|
static char ENGINE_EVENT_TYPE_UNKNOWN = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user