Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

makeRotationAxis(axis, angle)

Description:

Derive a rotation matrix around the given axis.

Parameters:

name type description
axis Phaser.Math.Vector3 | Phaser.Math.Vector4

The rotation axis.

angle number

The rotation angle in radians.

Returns:
Description:

This Matrix4.

Since: 3.0.0
Source: src/math/Matrix4.js (Line 814)