Generate a right-handed look-at matrix with the given eye position, target and up axis.
name | type | description |
---|---|---|
eye | Phaser.Math.Vector3 |
Position of the viewer. |
target | Phaser.Math.Vector3 |
Point the viewer is looking at. |
up | Phaser.Math.Vector3 |
vec3 pointing up. |
This Matrix4.