GINO Graphics Suite - GINO v9.0  

gInitView

Syntax

[C/C++:]
void gInitView(void);
[F90:]
subroutine gInitView

Arguments

None

Description

The routine gInitView() resets the viewing parameters to their initial default settings and initializes the viewing transformation matrix. It does not affect the modelling transformation matrix. The default settings are as follows:

Parallel view

View direction = (0.0,0.0,-1.0)

View centre = (0.0,0.0,0.0)

View centre position = centre of current window limits

View UP direction = (0.0,1.0,0.0)

The effect of a call to gInitView() can also be achieved by calling gSetTransform(GRESET) but this has the additional effect of initializing the modelling transformation matrix as well.

See Also

gInitView Usage
gSetTransform