C# Class OpenBve.Camera

Afficher le fichier Open project: leezer3/OpenBVE

Private Methods

Méthode Description
Camera ( double viewingDistance ) : System

Creates a new camera. A call to SetViewingAngle must be made to set the perspective in OpenGL.

SetViewingAngle ( double verticalViewingAngle ) : void

Sets the viewing angle and updates the perspective accordingly. This function changes the current matrix to GL_MODELVIEW once finished.