fg_3Dtransformobject()

Win32 DirectX Fastgraph/Light

Prototype

void fg_3Dtransformobject (double *source, double *dest, int n);

Sub fg_3Dtransformobject (source() As Double, dest() As Double, ByVal n As Long)

procedure fg_3Dtransformobject (var source, dest : double; n : integer);

Description

The fg_3Dtransformobject() function transforms a series of 3D (x,y,z) coordinates from object space to view space. This function is called internally by Fastgraph's 3D functions and is not usually called directly by applications.

Parameters

source is the name of the array containing the 3D object space (x,y,z) coordinates to transform. The first three elements of the source array contain the coordinates for the first point, the next three elements are for the next point, and so on.

dest is the name of the array that receives the transformed 3D view space (x,y,z) coordinates. The first three elements of the dest array will contain the coordinates for the first point, the next three elements will contain the next point, and so on. The size of dest must be at least as large as the source array.

n is the number of 3D points to transform.

Return value

none

Restrictions

none

See also

fg_3Dmoveobject(), fg_3Dproject(), fg_3Drotateobject(), fg_3Dsetobject(), fg_3Dtransform()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.