コード例 #1
0
 /// <summary>
 /// This is the main function of the camera, perform a Frustrum (in this case)
 /// transformation.
 /// </summary>
 public override void TransformProjectionMatrix(OpenGL gl)
 {
     //  Perform the transformation.
     gl.Translate(Position.X, Position.Y, Position.Z);
     gl.Frustum(left, right, bottom, top, near, far);
 }