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)
- The angle of the polar coordinates pair.
rad! (SINGLE)
- The radius of the polar coordinates pair.
RESULT:
xPos% (INTEGER)
- This will be returned by the function PolToCartX() and represents the X position of the given polar coordinates pair.
yPos% (INTEGER)
- This will be returned by the function PolToCartY() and represents the Y position of the given polar coordinates pair.