Commit graph

12 commits

Author SHA1 Message Date
Richard Davey
8b453f4dba Removed short-hand aliases. 2017-12-07 02:21:13 +00:00
Richard Davey
08a2c1f544 Vector2.setToPolar implemented. 2017-11-09 15:32:43 +00:00
Richard Davey
66fc40845b Defaults y to x if not given 2017-10-17 04:18:29 +01:00
Richard Davey
e6dfa1da73 Removed object check in 'set' and added y argument default to x 2017-10-16 22:57:28 +01:00
Richard Davey
3d09a834b7 Added Vector.equals methods. 2017-09-21 17:11:56 +01:00
Richard Davey
9ec7a52dcc Added Vector2.normalizeRightHand 2017-09-21 02:03:37 +01:00
Richard Davey
aab4896582 Added Vector2.angle method 2017-09-20 23:10:03 +01:00
Richard Davey
c48501b4ec Added scale isFinite check and Vector3.crossVectors. 2017-09-20 16:50:48 +01:00
Richard Davey
11aa39e29e Removed the Vector random methods and moved to their own function as they're swappable between each other 2017-09-18 21:48:26 +01:00
Richard Davey
f048473ab9 Fixed the prototype assignments. 2017-09-15 16:46:35 +01:00
Richard Davey
7be33051ca Added all the vector math classes: Vector2, Vector3, Vector4, Matrix3, Matrix4 and Quaternion. Exposed via Phaser.Math namespace. 2017-09-15 16:46:35 +01:00
Richard Davey
83d985b4b2 Testing out a 3D Camera 2017-09-15 04:04:51 +01:00