GINO Graphics Suite - GINO v9.0  

gSetViewUpDirection

Syntax

[C/C++:]
void gSetViewUpDirection(float dx, float dy, float dz);
[F90:]
subroutine gSetViewUpDirection(dx, dy, dz)
real, intent(in) :: dx,dy,dz

Arguments

dx,dy,dz
Vector to be projected parallel to the picture Y-axis

Description

The routine gSetViewUpDirection() defines the vector (dx,dy,dz) which would be projected parallel to the y-axis of the picture plane when gGenerateView() or gUpdateView() is called to set up the view transformation. If a zero vector is specified, an error message is output and no further action is taken.

The view up direction is internally modified by the routines which rotate the line of sight - gViewRotate() and gViewTurn.

See Also

gSetViewUpDirection Usage
gGenerateView
gViewRotate
gViewTurn
gUpdateView