Simstim

VEX Dictionary / rotate

rotate

Applies an in-place rotation to a 2D, 3D, or 4D matrix using an angle and axis or order.

group: transformmatrix

Available in every context

Usage

void rotate(matrix2 &m, float amount)
void rotate(matrix3 &m, float amount, vector axis)
void rotate(matrix &m, float amount, vector axis)
void rotate(matrix3 &m, vector angles, int xyz)
void rotate(matrix &m, vector angles, int xyz)
void rotate(matrix3 &m, float angle, int axis)
void rotate(matrix &m, float angle, int axis)

Examples

No worked examples yet.

Signatures (from vcc -X)

Related

Full SideFX documentation ↗