Nez.Portable/Graphics/PrimitiveBatch.cs
/// <summary>
/// draws directly in screen space at full viewport size
/// </summary>
draws directly in screen space at full viewport size
draws directly in screen space at full viewport size
public void begin()
        {
            var projection = Matrix.CreateOrthographicOffCenter(
                0,
                Core.graphicsDevice.Viewport.Width,
                Core.graphicsDevice.Viewport.Height,
                0,
                0,
                -1);
            var view = Matrix.CreateLookAt(Vector3.Zero, Vector3.Forward, Vector3.Up);
            begin(ref projection, ref view);
        }
public void begin ( ) { var projection = Matrix . CreateOrthographicOffCenter ( 0 , Core . graphicsDevice . Viewport . Width , Core . graphicsDevice . Viewport . Height , 0 , 0 , - 1 ) ; var view = Matrix . CreateLookAt ( Vector3 . Zero , Vector3 . Forward , Vector3 . Up ) ; begin ( ref projection , ref view ) ; }
draws directly in screen space at full viewport size
draws directly in screen space at full viewport size