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