fg_fixdiv() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

long fg_fixdiv (long n1, long n2);

Function fg_fixdiv (ByVal n1 As Long, ByVal n2 As Long) As Long

function fg_fixdiv (n1, n2 : longint) : longint;

Description

The fg_fixdiv() legacy function returns the fixed point quotient of two fixed point numbers.

Parameters

n1 is the fixed point dividend (numerator).

n2 is the fixed point divisor (denominator).

Return value

The fixed point quotient of n1/n2.

Restrictions

The integral portion of the divisor must not be zero.

Replaced by

Floating point 3D geometry system

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.