COpenGL::SetViewAngle

void SetViewAngle( float ViewAngle );

Parameters

ViewAngle Specifies the new COpenGL objectís view angle in degrees in the y-direction

Remarks

The SetViewAngle method function changes the COpenGL objectís view angle. The objectís view projection will be updated according to the new view angle. The view angle will be kept during further view projection changes, till a new view angle value will be specified.

If the current window resizing mode is WRM_KEEP_SCALE, the eye point will be moved toward or away from the reference point to keep the current projection scale. See the SetWindowResizingMode method function for further information. Default view angle set during object initialization is 45.

See Also

GetViewAngle, OnCreate