[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPVUP - Set View Up

GPVUP (vector)

Purpose

Use GPVUP to set the View Up vector in the USL (Utility State List) to the value specified.

When the Compute View Matrix (GPCVMT) subroutine is called, this vector identifies the positive side of the v-axis of the Viewing Coordinate (VC) system. For more information on the Viewing Coordinate system, see The graPHIGS Programming Interface: Understanding Concepts

Parameters

vector -- specified by user, 3 short floating-point numbers (WC)

Directional components of view up vector in World Coordinates (WC)

Error Codes

56
SPECIFIED VECTOR HAS LENGTH ZERO

Related Subroutines

GPCVMT
Compute View Matrix
GPVPLN
Set View Plane Normal
GPVR
Set View Reference Point

RCP code

201331203 (X'0C001203')


[ Previous | Next | Contents | Glossary | Home | Search ]