Set near clipping plane distance to 1.0

This commit is contained in:
William Moorehouse 2015-06-17 20:50:56 -04:00
parent 341093384d
commit 6a1dce540a

View File

@ -85,7 +85,7 @@ namespace TrueCraft.Client
var centerX = GraphicsDevice.Viewport.Width / 2;
var centerY = GraphicsDevice.Viewport.Height / 2;
Mouse.SetPosition(centerX, centerY);
Camera = new Camera(GraphicsDevice.Viewport.AspectRatio, 70.0f, 0.1f, 1000.0f);
Camera = new Camera(GraphicsDevice.Viewport.AspectRatio, 70.0f, 1.0f, 1000.0f);
UpdateCamera();
Window.ClientSizeChanged += (sender, e) => CreateRenderTarget();
MouseComponent.Move += OnMouseComponentMove;