Entity: Add VecA and VecB, for vector memory on entities.
This commit is contained in:
@@ -98,6 +98,8 @@ Entity Entity_New() {
|
|||||||
e->C = 0;
|
e->C = 0;
|
||||||
e->D = 0;
|
e->D = 0;
|
||||||
e->E = 0;
|
e->E = 0;
|
||||||
|
vec2_set(e->VecA, 0.0f, 0.0f);
|
||||||
|
vec2_set(e->VecB, 0.0f, 0.0f);
|
||||||
e->child = NULL;
|
e->child = NULL;
|
||||||
|
|
||||||
e->next = NULL;
|
e->next = NULL;
|
||||||
|
|||||||
@@ -72,6 +72,8 @@ struct TEntity {
|
|||||||
int C;
|
int C;
|
||||||
int D;
|
int D;
|
||||||
int E;
|
int E;
|
||||||
|
vec2 VecA;
|
||||||
|
vec2 VecB;
|
||||||
Entity child;
|
Entity child;
|
||||||
|
|
||||||
float maxX, minX;
|
float maxX, minX;
|
||||||
|
|||||||
Reference in New Issue
Block a user