C# Class Ypsilon.GraphicsUtility

显示文件 Open project: ZaneDubya/YCPU

Public Methods

Method Description
CreateProjectionMatrixScreenCentered ( GraphicsDevice graphics ) : Matrix
CreateProjectionMatrixScreenOffset ( GraphicsDevice graphics ) : Matrix
CreateProjectionMatrixScreenOffset ( int w, int h ) : Matrix

Method Details

CreateProjectionMatrixScreenCentered() public static method

public static CreateProjectionMatrixScreenCentered ( GraphicsDevice graphics ) : Matrix
graphics GraphicsDevice
return Microsoft.Xna.Framework.Matrix

CreateProjectionMatrixScreenOffset() public static method

public static CreateProjectionMatrixScreenOffset ( GraphicsDevice graphics ) : Matrix
graphics GraphicsDevice
return Microsoft.Xna.Framework.Matrix

CreateProjectionMatrixScreenOffset() public static method

public static CreateProjectionMatrixScreenOffset ( int w, int h ) : Matrix
w int
h int
return Microsoft.Xna.Framework.Matrix