Commit graph

23 commits

Author SHA1 Message Date
Richard Davey
89bcc6a27a Added Contains as a local method in geometry objects that support it 2017-10-29 21:46:23 +00:00
Richard Davey
9cee892481 Added Rectangle.GetPoint and Rectangle.GetPoints. Both working with tests in the examples repo. 2017-10-26 16:39:15 +01:00
Richard Davey
2f5da717e8 Revised to use faster method of detecting the perimeter point from the angle. 2017-10-26 16:37:51 +01:00
Richard Davey
23f201660d JSDocs added. 2017-10-13 14:11:54 +01:00
Richard Davey
900e996671 Rectangle.FromPoints will create a rectangle based on the extends in the given array of points or point-like objects. 2017-09-29 11:40:49 +01:00
Richard Davey
2d852aab02 Fixed missing new. 2017-09-29 11:40:20 +01:00
Felipe Alfonso
302a568566 Added shape emission to particle emitter 2017-09-25 14:10:01 -03:00
Richard Davey
579489d47a Fixed Rectangle inflate. Now deflates with negative values too. 2017-08-16 22:26:14 +01:00
photonstorm
52bb355429 Removing old and incorrect jsdoc blocks ready for first documentation pass. 2017-08-01 13:10:08 +01:00
photonstorm
e119e3a3fc Huge update to move all classes to common Phaser Class format. Tidying up lots. Removing un-needed files. 2017-06-30 15:47:51 +01:00
Richard Davey
3c12e15054 Added Rectangle to Triangle, and Triangle to Triangle intersection functions. Detects for face intersection and also point within point (so a triangle fully enclosed inside a rectangle for example) 2017-04-04 01:04:05 +01:00
Richard Davey
4914895509 Added Triangle and Rectangle decomposition functions to convert them into an array of points. 2017-04-04 01:03:28 +01:00
Richard Davey
081b2816ce Added option to have step or quantity in MarchingAnts method. 2017-03-29 19:53:14 +01:00
Richard Davey
e612b2c0f4 Added Rectangle.MarchingAnts method. 2017-03-29 17:10:56 +01:00
Richard Davey
bf695ee6d1 Added PlaceOnCircle and PlaceOnLine Actions. 2017-03-29 16:04:51 +01:00
Richard Davey
b3b495e53c Added Rectangle.PerimeterPoint method for getting the point on the perimeter of a rectangle based on the given angle. 2017-03-29 15:05:29 +01:00
Richard Davey
032f6e7084 Added Rectangle.centerX and centerY. 2017-03-29 15:05:06 +01:00
photonstorm
df6ca9ec6a Fixed return value. 2017-01-25 12:16:47 +00:00
Richard Davey
1deac35550 Added in more intersection functions and line functions. 2017-01-04 23:53:27 +00:00
Richard Davey
8dae244076 Added all the Circle functions. 2016-12-29 00:17:20 +00:00
Richard Davey
8c132571fa Updated Rectangle functions. 2016-12-28 23:41:02 +00:00
Richard Davey
f49a229727 Added Rectangle class, Geom structure, and fixed a few functions. 2016-12-22 01:32:21 +00:00
photonstorm
5a89c8d8ad Merged in Lazer Rectangle functions. 2016-12-20 17:07:16 +00:00