fg_fixtrig() (legacy function)

Win32 DirectX Fastgraph/Light

Prototype

void fg_fixtrig (int angle, long *cosine, long *sine);

Sub fg_fixtrig (ByVal angle As Long, cosine As Long, sine As Long)

procedure fg_fixtrig (angle: integer; var cosine, sine : longint);

Description

The fg_fixtrig() legacy function returns the fixed point cosine and fixed point sine of a given angle.

Parameters

angle is the desired angle, expressed in tenths of degrees counterclockwise from the positive x axis. For example, the value 900 represents 90 degrees.

cosine receives the fixed point cosine of the angle.

sine receives the fixed point sine of the angle.

Return value

none

Restrictions

none

Replaced by

Floating point 3D geometry system

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.