Return to previous page | Return to menu | Go to next page


ANGLE
Arithmetic functions

slAtan

Return angle in specified direction

Format

ANGLE slAtan(tx , ty)
FIXED tx ;
FIXED ty ;

Parameter

tx X component of direction specification vector
ty Y component of direction specification vector

Function

Returns the angle in the specified direction.

Return value

Returns the corner value in the specified direction.

Remarks

The figure below explains the principle of calculating the angular value of the function “slAtan”.

Reference: Chapter 11 Arithmetic Functions

slAtan


Return to previous page | Return to menu | Go to next page