void SetUpDirection( const float* UpDirection );
|UpDirection||Pointer to an array of three float values. Specifies new up direction vector. The vector cannot be parallel with the current looking direction .|
Use the SetUpDirection method function to change the up direction vector. The up direction vector specifies the “head up direction” of your eye point.
If the up direction vector specification is parallel to the current looking direction, the function fails and the up direction vector remains unchanged.
The SetUpDirection method will correct internally the provided UpDirection vector to be perpendicular to the current looking direction. If the provided UpDirection vector is parallel to the current looking direction then the up direction vector remains unchanged.
The default up direction is set by object initialization to [ 0, 1, 0 ].
SetReferencePoint, GetReferencePoint, SetEyePoint, GetEyePoint, GetUpDirection , SetLookDistance, GetLookDistance, LookAt
|© 2001 Solid Graphics, All rights reserved.|
|To view this site, we require use of either Netscape Navigator 4.0 or higher or Internet Explorer 4.0 or higher.|