Partial entity inspector
This commit is contained in:
@@ -189,7 +189,7 @@ void renderOrientationDirection(ecs_iter_t *it) {
|
||||
Vector2 v = {6.0f, 0.0f};
|
||||
v = Vector2Rotate(v, orientation[i]);
|
||||
v = Vector2Add(v, pos[i]);
|
||||
DrawLine(pos->x, pos->y, v.x, v.y, RED);
|
||||
DrawLine(pos[i].x, pos[i].y, v.x, v.y, RED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user