fg_3Dline()

Win32 DirectX Fastgraph/Light

Prototype

void fg_3Dline (double x1, double y1, double z1, double x2, double y2, double z2);

Sub fg_3Dline (ByVal x1 As Double, ByVal y1 As Double, ByVal z1 As Double, ByVal x2 As Double, ByVal y2 As Double, ByVal z2 As Double)

procedure fg_3Dline (x1, y1, z1, x2, y2, z2 : double);

Description

The fg_3Dline() function draws a line defined in 3D world space, with optional z-buffering and 3D clipping.

Parameters

x1, y1, and z1 are the 3D world space coordinates for one of the line's end points.

x2, y2, and z2 are the 3D world space coordinates for the line's other end point.

Return value

none

Restrictions

none

See also

fg_3Drenderstate()

Examples

Geometry

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.