fg_drawz()

Win32 DirectX Fastgraph/Light

Prototype

void fg_drawz (int ix, int iy, double z_start, double z_end);

Sub fg_drawz (ByVal ix As Long, ByVal iy As Long, ByVal z_start As Double, ByVal z_end As Double)

procedure fg_drawz (ix, iy : integer; z_start, z_end : double);

Description

The fg_drawz() function draws a projected z-buffered line from the graphics cursor position to an absolute screen space position, with 2D clipping. This function is called internally by Fastgraph's 3D functions and is not usually called directly by applications.

Parameters

ix is the screen space x coordinate of the destination position.

iy is the screen space y coordinate of the destination position.

z_start is the 3D world space z coordinate at the graphics cursor position.

z_end is the 3D world space z coordinate at the destination position.

Return value

none

Restrictions

none

See also

fg_3Dline(), fg_3Drenderstate()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.