Commit graph

67 commits

Author SHA1 Message Date
Jason Kwok
7d600045d4 Fixed this return types for Phaser.Curves.Ellipse 2020-01-30 23:20:17 +08:00
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
2bb1f0867b
Merge pull request #4939 from Chnapy/master
Improve JSDoc typings & improve tsgen with default generic types
2020-01-13 11:41:59 +00:00
Andrew Brampton
e42f227ec2
Update documentation and one import, to use the consistent name of Vector2.
There were examples that used Vec2, which wouldn't work. For example `An array of Point or Vector2 objects: [new Phaser.Math.Vec2(x1, y1), ...]` was not copy and pastable.
2020-01-11 06:46:25 -08:00
Richard Haddad
2d0edf2a2f
Merge branch 'master' into master 2020-01-04 05:23:43 +01:00
Richard Davey
a7ebd6b1b5
Merge pull request #4938 from javigaralva/fix-spline-doc
Added some documentation for Spline curves.
2020-01-03 23:15:17 +00:00
samme
bee0a96542 Docs for Phaser.Curves.Curve and Phaser.Curves.Path
And whitespace
2020-01-03 13:44:07 -08:00
Chnapy
9bb02d57ef improve typings: getPoints functions 2020-01-03 13:21:50 +01:00
Javier García Álvarez
6e05e0252f Added some documentation for Spline curves. 2020-01-03 09:37:59 +01:00
Richard Davey
5a3d124583 lint fix 2019-12-28 17:28:50 +00:00
Richard Davey
9379f3ce17
Merge pull request #4877 from rexrainbow/curve-improvement
Add arguments step and out in curve.getSpacedPoints() method
2019-12-18 14:40:49 +00:00
Hua
a2a6124ee5 Mark arguments as optional 2019-11-27 10:05:54 +08:00
Hua
155995ce45 Remove il variable 2019-11-26 10:15:23 +08:00
Hua
73c919995a Override default Curve.getUtoTmapping method
Since `u` is equal to `t` in LineCurve, `Line.getUtoTmapping` could return `u` directly.
2019-11-26 10:08:25 +08:00
Hua
2ec969e718 Add arguments step and out
Take an optional array as the 3rd parameter in which to store the points results
2019-11-25 11:51:21 +08: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
Richard Davey
4a32318185 eslint fixes 2019-11-18 16:36:52 +00:00
Hua
4c6cac514c Typo 2019-11-18 11:21:31 +08:00
Hua
a8516d70c9 Typo 2019-11-18 11:17:15 +08:00
Hua
f0d2394c6f Typo 2019-11-18 11:11:25 +08:00
Hua
c198c4e2b3 Override default Curve.arcLengthDivisions to 1 2019-11-18 11:01:35 +08:00
Hua
5f53466d0e Add stepRate argument in getPoints method 2019-11-18 11:01:22 +08:00
Josh Soref
1731360a6d spelling: constituent 2019-10-29 01:50:10 -04:00
Ske
b74c9ae39f Improve documentation for Phaser.Curves.Path 2019-10-12 13:45:44 +02:00
Richard Davey
1fd4764e0e Update Path.js 2019-07-11 15:17:43 +01:00
Richard Davey
c20ff295eb Updated jsdocs 2019-07-11 15:14:40 +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
e7f091b20d Curve Types 2019-05-09 11:52:07 +01:00
Richard Davey
e7b1d086e7 Moving all of the typedefs to properly namespaced scopes, rather than globals
\o/ ~ "Someone, save me!"
2019-02-13 12:35:12 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
2780babe10 Final Doc Jam merge 2018-12-03 15:16:23 +00: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
24fdcb5ffd New docs 2018-09-28 10:32:58 +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
ef558fea3c Type definition fixes 2018-09-07 17:19:19 +01:00
Richard Davey
7aa46657c2 Tidying up jsdocs and changing float to number 2018-06-26 23:19:14 +01:00
Richard Davey
30678b44ff Updated method names 2018-05-23 23:09:31 +01:00
Richard Davey
6eea9db9b2 jsdoc fixes. FIx #3694 2018-05-23 15:04:54 +01:00
Richard Davey
32ce8d7947 jsdoc fixes and removed un-used ResetKey file. 2018-04-19 12:30:38 +01:00
Richard Davey
af3273b2e6 jsdoc fixes 2018-04-18 13:39:55 +01:00
Richard Davey
18585de81d Lots of jsdoc fixes 2018-04-16 14:43:24 +01:00
Richard Davey
0c200054b6 LineCurve.getResolution was missing the divisions argument and always returning 1, which made it fail when used as path of a Path. It now defaults to return 1 unless specified otherwise 2018-04-04 10:29:12 +01:00
orblazer
1ded1d12a8 Fix types and add generic in Curves 2018-03-27 14:06:24 +02:00
orblazer
37b6fc5862 Fix many multiple types 2018-03-20 15:58:02 +01:00
orblazer
4cff464555 Fix nullable types 2018-03-20 15:36:03 +01:00
orblazer
bf630f7d57 Fix types in JSDocs 2018-03-19 19:49:14 +01:00