Richard Davey
f0ad396974
type errors fixed
2024-11-14 23:06:27 +00:00
Richard Davey
1f8276ac76
Updated copyright year, company and author
2024-02-19 17:12:24 +00:00
Robert Kowalski
6bb3138c03
Path lineTo and moveTo now support Vector2Like Fix #6557
2024-02-15 20:24:49 -05:00
Richard Davey
0b32610e56
Updated version to 3.70
2023-11-10 15:04:01 +00:00
Alvaro Estrada
f56a74b668
Update Path.js
...
* Added a defaultDivisions property, this brings it to parity with singular curves implementation
* Added a stepRate parameter to the getPoints method, so it can pass this parameter to the curve's getPoints method when given
2023-09-11 09:49:46 -06:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
Richard Davey
c3b897d338
Merge pull request #5890 from natureofcode/fix/quadratic-bezier-curve#type
...
Fix missing `QuadraticBezier` curves in `Path.fromJSON()` results
2021-11-04 16:44:14 +00:00
Richard Davey
7e14e2feaa
Update Path.js
2021-11-04 16:41:42 +00:00
natureofcode
e43f54fdd5
Add new Path#getCurveAt()
method
2021-11-04 00:40:40 +05:00
natureofcode
d180218ae6
Fix type
field of QuadraticBezier
curve class
...
It fixes missing `QuadraticBezier` curves in `Path.fromJSON()` results
2021-10-31 01:19:56 +05:00
samme
bdca6f28f3
Fix missing out arg in Curves.Line#getTangent
2021-02-09 09:44:06 -08:00
Richard Davey
02c34cd64e
Replace integer with number
2020-11-23 10:22:13 +00:00
Richard Davey
da3f9b22c3
Exposed on the main API namespace
2020-09-01 18:38:57 +01:00
Richard Davey
31cdeac1ee
Merge pull request #5180 from rexrainbow/BugFix-EllipseCurve
...
Fix bug about setting xRadius/yRadius by width/height
2020-07-13 12:38:05 +01:00
SanderVanhove
b4dcc9b17a
Fix Path moveTo optional y param
2020-07-10 19:49:45 +00:00
Rex
84fd7eaa98
Fix bug about setting xRadius/yRadius by width/height
...
xRadius/yRadius is half of width/height
2020-06-02 14:00:52 +08:00
Richard Davey
4c77f26a29
Added JSDocs
2020-04-27 15:41:44 +01:00
Richard Davey
e1b8b04623
Merge pull request #4975 from JasonHK/jsdoc
...
Fixed `this` return types
2020-04-27 13:25:58 +01:00
samme
108c780ea9
Add Phaser.Curves.Path#getTangent
2020-04-17 09:26:01 -07:00
Jason Kwok
1969c8fb99
Fixed this
return types for Phaser.Curves.Path
2020-01-30 23:25:51 +08:00
Jason Kwok
aaef2d2f9f
Fixed this
return types for Phaser.Curves.Spline
2020-01-30 23:23:27 +08:00
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