COpenGL::SetLookDistance

void SetLookDistance( float Distance );

Parameters

Distance Specifies the new distance between the eye point and the reference point. The eye point location will be moved to conform with this distance.

Remarks

The SetLookDistance method function changes the eye point location to conform with the specified distance between the eye point and the reference point. The current looking direction and up direction vectors will be kept.

The default distance between eye point and reference point set during object initialization is 1.0.

See Also

SetReferencePoint, GetReferencePoint, SetEyePoint, GetEyePoint, SetUpDirection, GetUpDirection, GetLookDistance, LookAt