Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix3

rotate(rad)

Description:

Apply a rotation transformation to this Matrix.

Parameters:

name type description
rad number

The angle in radians to rotate by.

Returns:
Description:

This Matrix3.

Since: 3.0.0
Source: src/math/Matrix3.js (Line 396)