Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Rotatepoint

From EDukeWiki

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

Retrieved from "http://localhost../../../r/o/t/Rotatepoint.html"

This page has been accessed 139 times. This page was last modified 21:37, 15 May 2006 by Richard Gobeille. Based on work by EDukeWiki user(s) Usurper.


[Main Page]
Main Page
Recent changes
Random page
EDuke32.com

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports