GEOrotate

Top  Previous  Next

To tricks of a point.

With GEOrotate the point with the co-ordinates (x, y) around the corner rotation becomes rotated. The fulcrum is the point with the co-ordinates (0,0). It is turned against the clockwise. The rotary corner is given in, 2π if the tricks are about 360 degrees, the identity.

Parametre

x (stands in) [IN]

y (stands in) [IN]

The co-ordinates of the point which should be turned.

rotation (stands in) [IN]

The corner in the wheel around which the point (x, y) should be turned.

destX (stands in *) [IN / OUT]

destY (stands in *) [IN / OUT]

In this variable the co-ordinates of the rotated point are written. The variables must be valid pointers.

Result

---

Declaration

#include "basic.h"

 

void DLLENTRY GEOrotate (

STAND-IN x,

STAND-IN y,

STAND-IN rotation,

STAND-IN * destX,

STAND-IN * destY

);