// projection uses CreateOrthographicOffCenter to create 2d projection // matrix with 0,0 in the upper left. basicEffect.Projection = Matrix.CreateOrthographicOffCenter (0, GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height, 0, 0, 1);摘自XNA教学路径绘制
XNA正交投影矩阵原点在左上角
最新推荐文章于 2022-12-09 13:37:32 发布