Rotatepoint: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
rotatepoint <xpivot> <ypivot> <x> <y> <ang> <xreturnvar> <yreturnvar> | '''rotatepoint''' <xpivot> <ypivot> <x> <y> <ang> <xreturnvar> <yreturnvar> | ||
Used in conjunction with [[dragpoint]] for rotating sectors. The rotatepoint command calculates the end position for a wall point after rotating. To move the point to that position, use [[dragpoint]]. | Used in conjunction with [[dragpoint]] for rotating sectors. The rotatepoint command calculates the end position for a wall point after rotating. To move the point to that position, use [[dragpoint]]. |
Revision as of 12:22, 4 May 2009
rotatepoint <xpivot> <ypivot> <x> <y> <ang> <xreturnvar> <yreturnvar>
Used in conjunction with dragpoint for rotating sectors. The rotatepoint command calculates the end position for a wall point after rotating. To move the point to that position, use dragpoint.
- <xpivot>: the x coordinate of the central pivot point
- <ypivot>: the y xoordinate of the central pivot point
- <x>: the x coordinate of a wall point to rotate in relation to the pivot point
- <y>: the y coordinate of a wall point to rotate in relation to the pivot point
- <ang>: how many degrees to rotate (0-2047)
- <xreturnvar>: the post-rotate x coordinate of the wall point
- <yreturnvar>: the post-rotate y coordinate of the wall point