back to Table of Contents


PolToCartX & PolToCartY (function)

These two functions are used to convert a polar coordinates pair into its carthesian representation.


SYNTAX:

xPos% = PolToCartX% (ang!, rad!)
yPos% = PolToCartY% (ang!, rad!)

INPUTS:

ang! (SINGLE)

rad! (SINGLE)


RESULT:

xPos% (INTEGER)

yPos% (INTEGER)


back to Table of Contents