fg_view3d() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_view3d (int minx, int maxx, int miny, int maxy, long ratio);

Sub fg_view3d (ByVal minx As Long, ByVal maxx As Long, ByVal miny As Long, ByVal maxy As Long, ByVal ratio As Long)

procedure fg_view3d (minx, maxx, miny, maxy : integer; ratio : longint);

Description

The fg_view3d() legacy function defines the 3D viewport in screen space and the corresponding projection ratio. You must set up a 3D viewport before using fg_project().

Parameters

minx is the x coordinate of the viewport's left edge.

maxx is the x coordinate of the viewport's right edge. It must be greater than or equal to the value of minx.

miny is the y coordinate of the viewport's top edge.

maxy is the y coordinate of the viewport's bottom edge. It must be greater than or equal to the value of miny.

ratio is the fixed point projection ratio. It must be greater than zero.

Return value

none

Restrictions

none

Replaced by

Floating point 3D geometry system

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.