|
@ -86,9 +86,7 @@ namespace SemiColinGames { |
|
|
|
|
|
|
|
|
// Draw lines of sight.
|
|
|
// Draw lines of sight.
|
|
|
basicEffect.Projection = camera.Projection; |
|
|
basicEffect.Projection = camera.Projection; |
|
|
if (Debug.Enabled) { |
|
|
|
|
|
world.LinesOfSight.Draw(graphics, basicEffect); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
world.LinesOfSight.Draw(graphics, basicEffect); |
|
|
|
|
|
|
|
|
// Set up transformation matrix for drawing world objects.
|
|
|
// Set up transformation matrix for drawing world objects.
|
|
|
Matrix transform = Matrix.CreateTranslation(-camera.Left, -camera.Top, 0); |
|
|
Matrix transform = Matrix.CreateTranslation(-camera.Left, -camera.Top, 0); |
|
|