back to Table of Contents


MovePointX & MovePointY (function)

These two functions are used to move a given point from its current position in any given angle by a specified distance.


SYNTAX:

xMov% = MovePointX% (xPos%, yPos%, ang!, dist!)
yMov% = MovePointY% (xPos%, yPos%, ang!, dist!)

INPUTS:

xPos%, yPos% (INTEGERs)

ang! (SINGLE)

dist! (SINGLE)


RESULT:

xMov% (INTEGER)

yMov% (INTEGER)


back to Table of Contents