PgMatrix.rotate

Changes the transformation represented by @matrix to be the transformation given by first rotating by @degrees degrees counter-clockwise then applying the original transformation.

class PgMatrix
void
rotate
(
double degrees
)

Parameters

degrees double

degrees to rotate counter-clockwise

Meta