Scene: always draw LinesOfSight
This commit is contained in:
parent
9504c2236c
commit
437130ab55
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user