fg_3Dtransform()Win32 DirectX Fastgraph/Light Prototype void fg_3Dtransform (double *source, double *dest, int n); Sub fg_3Dtransform (source() As Double, dest() As Double, ByVal n As Long) procedure fg_3Dtransform (var source, dest : double; n : integer); Description The fg_3Dtransform() function transforms a series of 3D (x,y,z) coordinates from world 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 world 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_3Dproject(), fg_3Dtransformobject()

copyright 2001 Ted Gruber Software, Inc.