- float aspect_ratio = Width / (float)Height;
- Matrix4 perpective = Matrix4.CreatePerspectiveFieldOfView(MathHelper.PiOver4, aspect_ratio, 1, 100);
- GL.MatrixMode(MatrixMode.Projection);
- GL.LoadMatrix(ref perpective);
FischaugenperspektiveModerator: DGL-Team
|