All pastes #204236 Raw Edit

Anonymous

public text v1 · immutable
#204236 ·published 2006-10-15 19:37 UTC
rendered paste body
Convert a coordinate to a new coordinate based on rotation.
Origin is always 0.
Rotation is in Degrees.

Function RotateCoordinate:String (X:Int, Y:Int, Rotation:Int)
Local newX:Int
Local newY:Int
...
Return newX+","+newY
End Function