fg_3Dsetzclip()

Win32 DirectX Fastgraph/Light

Prototype

void fg_3Dsetzclip (double z_near, double z_far);

Sub fg_3Dsetzclip (ByVal z_near As Double, ByVal z_far As Double)

procedure fg_3Dsetzclip (z_near, z_far : double);

Description

The fg_3Dsetzclip() function defines the near and far z clipping planes for 3D clipping. If you do not call fg_3Dsetzclip(), Fastgraph will use its default near and far clipping planes of 1 and 1000 respectively.

Parameters

z_near is the z coordinate of the near clipping plane. It must be greater than zero, or if z-buffering is used, greater than or equal to 1.

z_far is the z coordinate of the far clipping plane. It must be greater or equal to z_near.

Return value

none

Restrictions

3D clipping is not supported for right-handed 3D coordinate systems.

Examples

TMcube, TMcubeX

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.