Partial entity inspector

This commit is contained in:
2024-01-07 13:49:13 +01:00
parent 5dbc5ba15e
commit 9c745d2857
9 changed files with 276 additions and 56 deletions

View File

@@ -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);
}
}