LinesOfSight: don't draw yellow lines
GitOrigin-RevId: 1ebd5fe922856036d814a129520a5f3d6e1e4447
This commit is contained in:
parent
e2ea2e1d3f
commit
786b230a6c
@ -35,7 +35,6 @@ namespace SemiColinGames {
|
|||||||
float angle = -fov / 2 + fovStep * i;
|
float angle = -fov / 2 + fovStep * i;
|
||||||
Vector2 rotated = ray.Rotate(angle);
|
Vector2 rotated = ray.Rotate(angle);
|
||||||
Vector2 closestHit = Vector2.Add(eyePos, rotated);
|
Vector2 closestHit = Vector2.Add(eyePos, rotated);
|
||||||
Debug.AddLine(eyePos, closestHit, Color.Yellow);
|
|
||||||
float hitTime = 1f;
|
float hitTime = 1f;
|
||||||
|
|
||||||
Vector2 halfTileSize = new Vector2(World.TileSize / 2.0f, World.TileSize / 2.0f);
|
Vector2 halfTileSize = new Vector2(World.TileSize / 2.0f, World.TileSize / 2.0f);
|
||||||
|
Loading…
Reference in New Issue
Block a user