fg_3Dupvector()

Win32 DirectX Fastgraph/Light

Prototype

void fg_3Dupvector (double x, double y, double z);

Sub fg_3Dupvector (ByVal x As Double, ByVal y As Double, ByVal z As Double)

procedure fg_3Dupvector (x, y, z : double);

Description

The fg_3Dupvector() function defines the 3D geometry system's up vector. The default up vector is (0.0,1.0,0.0). This function is provided for completeness; it is seldom necessary to modify the up vector.

Parameters

x is the up vector's x component.

y is the up vector's y component.

z is the up vector's z component.

Return value

none

Restrictions

At least one of the up vector's (x,y,z) components must be non-zero.

See also

fg_3Dlookat()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.