Commit graph

52 commits

Author SHA1 Message Date
Richard Davey
02c34cd64e Replace integer with number 2020-11-23 10:22:13 +00:00
Richard Davey
e1b8b04623
Merge pull request #4975 from JasonHK/jsdoc
Fixed `this` return types
2020-04-27 13:25:58 +01:00
Richard Davey
d0c4f4df12
Merge pull request #5047 from jdcook/fix/particles-get-points
added stepRate check for GetPoints methods
2020-04-27 12:20:22 +01:00
samme
dfe4219f65 Add Geom.Rectangle.FromXY 2020-04-03 20:46:10 -07:00
Jared Cook
2f8c00639b added stepRate check for GetPoints methods 2020-03-16 16:12:22 -05:00
Richard Davey
0ee6d16c17 Finished Geom JSDocs 2020-02-04 16:19:42 +00:00
Jason Kwok
77cae094d9 Fixed this return types for Phaser.Geom.Rectangle 2020-01-30 23:40:25 +08:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
9ff331e10e
Merge pull request #4829 from jsoref/spelling
Spelling
2019-11-18 21:47:26 +00:00
Richard Davey
50d9931c11 Added cached MIN/MAX SAFE INT for IE support #4833 2019-11-18 17:01:55 +00:00
Josh Soref
d9acb432c6 spelling: falsey 2019-10-29 02:18:26 -04:00
Josh Soref
d6820e6da8 spelling: envelope 2019-10-29 01:53:22 -04:00
Josh Soref
9fb412bb07 spelling: coordinates 2019-10-29 01:50:33 -04:00
Richard Davey
3a85d8bdc8 Added the new Geometry type properties 2019-07-18 10:36:11 +01:00
Richard Davey
5a90e1f4ef
Merge pull request #4600 from ldd/fixDocs
Fix some JSDoc descriptions
2019-07-02 12:20:04 +01:00
Richard Davey
8ecab7a1a1 JSDocs fix 2019-06-25 16:56:56 +01:00
ldd
4cd8787212 Fix some JSDoc descriptions 2019-06-17 16:03:22 -04:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
a40b6056f5 Added jsdocs 2018-12-20 12:12:20 +00:00
Richard Davey
2780babe10 Final Doc Jam merge 2018-12-03 15:16:23 +00:00
Richard Davey
956a0913b8 Added new jsdocs 2018-10-22 12:12:31 +01:00
Richard Davey
4c4421c47f Docjam merge 2018-10-19 12:32:43 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
c2f78fe025 Determines if the two objects (either Rectangles or Rectangle-like) have the same width and height values under strict equality. 2018-10-08 17:02:27 +01:00
Richard Davey
e297b3272e Added hundreds of new jsdoc descriptions 2018-10-01 11:35:01 +01:00
Richard Davey
82ddc031c7 Added new batch of jsdocs 2018-09-27 15:29:32 +01:00
Richard Davey
89b9f42f3e Adding jsdocs 2018-09-24 23:20:43 +01:00
Richard Davey
f195a09530 Rectangle.Intersection will take two Rectangle objects and return the area of intersection between them. If there is no intersection, an empty Rectangle is returned. 2018-07-05 23:54:51 +01:00
Richard Davey
7aa46657c2 Tidying up jsdocs and changing float to number 2018-06-26 23:19:14 +01:00
Chris Andrew
734c0115f9 Documented Geom CopyFrom functions and some Point functions.
Documented one remaining Ellipse ContainsRect parameter.
2018-06-21 18:42:40 +01:00
Chris Andrew
dad6b78c9b Documented almost all of Math.Quaternion. Fixed lint error in RandomOutside. 2018-05-31 15:17:59 +01:00
Richard Davey
20e21ff5ac Rectangle.RandomOutside is a new function that takes two Rectangles, outer and inner, and returns a random point that falls within the outer rectangle but is always outside of the inner rectangle. 2018-05-31 14:07:39 +01:00
Richard Davey
9eeef7e33e lint 2018-04-11 13:17:16 +01:00
Richard Davey
ffd1d218e6 Rectangle.Union will now cache all vars internally so you can use one of the input rectangles as the output rectangle without corrupting it. 2018-04-11 12:44:37 +01:00
orblazer
e9e16a7b10 Add generic types on Geom 2018-03-27 15:27:08 +02:00
orblazer
8a9223811f Fix multiple types on Geom 2018-03-20 16:01:08 +01:00
Richard Davey
917dc8f8be Rectangle.getLineA/B/C/D now returns a Line instead of an untyped object. It also now has an optional argument that allows you to pass a Line in to be populated, rather than creating a new one. 2018-03-19 16:47:34 +00:00
orblazer
0e06dcf3a1 Update JSDoc on Geom 2018-03-19 13:05:23 +01:00
Richard Davey
a223b35ccf Rectangle.top wouldn't reset the y position if the value given never exceed the Rectangles bottom. Fix #3290 (thanks @chancezeus) 2018-02-28 21:25:55 +00:00
Richard Davey
86f00eeb52 eslint fixes 2018-02-16 18:17:51 +00:00
Richard Davey
d1f5f8a82b Added jsdocs 2018-02-12 16:01:21 +00:00
Richard Davey
ebe2f0758a Removed incorrect namespace. 2018-02-07 16:16:25 +00:00
Richard Davey
40689d1e35 Updated jsdocs. 2018-02-07 15:27:21 +00:00
Richard Davey
2a86400a28 Added in jsdocs 2018-01-31 13:54:44 +00:00
Richard Davey
d1c1074979 Added jsdocs. 2018-01-26 13:14:41 +00:00
Richard Davey
d46662cd46 Swapped to using Number.MAX_VALUE so repeat -1 now works properly in IE11 and below. 2018-01-18 14:59:32 +00:00
Antriel
be39bd4260 Fixed rectangle/Union. 2018-01-16 11:04:14 +01:00
Antriel
44a2919774 Fixed rectangle/GetCenter. 2018-01-16 09:22:51 +01:00
Antriel
e342480ca4 Fixed rectangle/FitOutside. 2018-01-16 07:38:41 +01:00