IrrRotateNodeByCenter

section index

## NAME

IrrRotateNodeByCenter - rotates around a point

## SYNOPSIS

IrrRotateNodeByCenter(*node.l, mode.l, degrees.d, x.f,y.f,z.f)

## INPUTS

*Node.l | - | pointer to a Scene Node
mode.l | - | Is the Rotation Mode : #IRR_ROTATE_NODE_BY_XY #IRR_ROTATE_NODE_BY_XZ #IRR_ROTATE_NODE_BY_YZ
degrees.d | - | degrees of the rotation
x.f,y.f,z.f | - | the center to rotate around.

## FUNCTION

To rotate a Node around a specific point (pivot), you can use this function.

## EXAMPLE

       IrrRotateNodeByCenter(*node,#IRR_ROTATE_NODE_BY_XY, 32.0, 0,0,0))

## RESULT

nothing

## NOTES