fg_3Dpov()

Win32 DirectX Fastgraph/Light

Prototype

void fg_3Dpov (double x, double y, double z, int x_angle, int y_angle, int z_angle);

Sub fg_3Dpov (ByVal x As Double, ByVal y As Double, ByVal z As Double, ByVal x_angle As Long, ByVal y_angle As Long, ByVal z_angle As Long)

procedure fg_3Dpov (x, y, z : double; x_angle, y_angle, z_angle : integer);

Description

The fg_3Dpov() function defines the viewer's position and orientation in 3D world space. The orientation is defined through rotation angles about the world space coordinate axes.

Parameters

x is the x coordinate of the viewer's position in 3D world space.

y is the y coordinate of the viewer's position in 3D world space.

z is the z coordinate of the viewer's position in 3D world space.

x_angle is the viewer's counterclockwise orientation about the world space x axis.

y_angle is the viewer's counterclockwise orientation about the world space y axis.

z_angle is the viewer's counterclockwise orientation about the world space z axis.

Return value

none

Restrictions

none

See also

fg_3Daxisangle(), fg_3Dlookat(), fg_3Dmove(), fg_3Dmoveforward(), fg_3Dright(), fg_3Dmoveup(), fg_3Droll(), fg_3Drotate(), fg_3Drotateright(), fg_3Drotateup()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.