Ninja Library - Mathematical Function

njCos

Returns a cosine

FORMAT

Float njCos( ang )
Angle ang

PARAMETER

 ang  Angle 

RETURN

Value of cosine

DESCRIPTION

Finds the cosine of arbitrary angle ang and returns the value found as the result.

EXAMPLE

ans = njCos( 0x1555 );
% Result %
ans = 0.866041

REFERENCE

njSin()

njCos
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999