Richard Davey
b00ba89317
Final removal of Point objects
2024-11-14 21:37:49 +00:00
Richard Davey
e6331d8cfc
Triangle geom to Vector2 conversion
2024-11-14 21:30:04 +00:00
Richard Davey
a23887f73c
Rectangle point to vector2 update
2024-11-14 20:58:30 +00:00
Richard Davey
af4429acc6
Polygon updated from Point to Vector2
2024-11-14 20:44:38 +00:00
Richard Davey
7119b5d419
Updated Line geom functions to use Vector2
2024-11-14 20:40:24 +00:00
Richard Davey
6bf387e1cc
Ellipse done
2024-11-14 18:45:04 +00:00
Richard Davey
64074fa001
Working through Point deprecation
2024-11-14 18:37:14 +00:00
Richard Davey
bb8f9be617
Updated Circle functions
2024-11-14 18:23:50 +00:00
Richard Davey
d012c1a953
Working through Point replacement with Vec2
2024-11-14 18:21:43 +00:00
Richard Davey
1e649e8a43
Update const.js
2024-11-14 18:06:57 +00:00
Richard Davey
d7bee12614
Removed Point class and functions
2024-11-14 18:06:53 +00:00
Richard Davey
e550202b28
v4.0.0 Alpha 1 merge
2024-11-14 11:40:26 +00:00
Zeke Chan
52f3309ab5
Update GetLineToLine.js
2024-06-13 17:30:36 +08:00
Richard Davey
1f8276ac76
Updated copyright year, company and author
2024-02-19 17:12:24 +00:00
Richard Davey
2489396d58
Updated docs
2024-01-31 17:15:38 +00:00
Richard Davey
0b32610e56
Updated version to 3.70
2023-11-10 15:04:01 +00:00
Richard Davey
304275dc7d
Merge pull request #6570 from Trissolo/feature/GeomLine-SetFromVectors
...
Added a new method: Phaser.Geom.Line#setFromObjects()
2023-11-08 16:15:14 +00:00
Richard Davey
5079f8e010
Merge pull request #6577 from Trissolo/fix/intersects-GetLineToPoints
...
Fix Geom.Intersects#GetLineToPoints
2023-11-08 16:12:34 +00:00
Trissolo
d33c83d27b
Remove unused code
2023-08-16 05:42:00 +02:00
Trissolo
d3c2afc9a5
The intersection test between the given Line and the line segment between the first and last point is no longer skipped
2023-08-09 06:54:22 +02:00
Trissolo
f4e0f018ba
Add Phaser.Geom.Line#setFromObjects()
2023-08-04 06:38:34 +02:00
Richard Davey
57c41cba72
Use Frame if the Mesh has one and not defined
2023-01-25 23:30:47 +00:00
Richard Davey
a5abae8f0a
Added setColor, scrollUV and scaleUV methods
2023-01-24 13:44:20 +00:00
Richard Davey
eb0731d3be
Added translated uv coords + scrollUV and scaleUV methods
2023-01-24 13:43:52 +00:00
Richard Davey
8abfcd2f6f
The GenerateVerts
function has a new optional parameter flipUV
which, if set, will flip the UV texture coordinates
2023-01-06 14:41:09 +00:00
Richard Davey
e4a4f30c27
Restored previous version
2023-01-06 13:54:52 +00:00
Richard Davey
3dbc513e9c
Debugging MergeRect
2023-01-05 18:46:23 +00:00
Richard Davey
f782576c18
Fixed jsdocs
2023-01-05 16:03:09 +00:00
Richard Davey
a30f6a1f92
Updated documentation
2023-01-05 15:35:59 +00:00
Richard Davey
f7195e6545
The GenerateVerts
function no longer errors if the verts and uvs arrays are not the same size and containsZ
is true
2023-01-05 14:57:52 +00:00
Richard Davey
a7282a17ec
Update docs
2023-01-03 13:14:21 +00:00
Richard Davey
468bf7821d
Updated copyright year
2023-01-02 17:36:27 +00:00
Richard Davey
ec18bf6ac7
Fixed url and updated math
2022-12-23 18:54:16 +00:00
Richard Davey
951964c19e
Update GetLineToLine.js
2022-12-22 00:54:10 +00:00
samme
868c299c62
Docs: correct GetShortestDistance()
...
Fixes #6322
2022-12-17 06:59:53 -08:00
Richard Davey
45c0c23f6f
Added origin to resize method
2022-12-08 16:17:10 +00:00
Richard Davey
c4655bfb6d
Changed to resize method
2022-12-07 18:28:35 +00:00
Richard Davey
7996f4eb9e
Removed un-needed method
2022-12-07 18:28:25 +00:00
Richard Davey
fbc15ccfff
The Vertex.update
method now returns this
to allow it to be chained.
2022-12-06 18:00:11 +00:00
Richard Davey
0d2cee6d97
Added transformIdentity
and update
methods
2022-12-05 18:21:39 +00:00
Richard Davey
65af3c0874
Don't abort of texture provided
2022-12-02 18:07:07 +00:00
Richard Davey
5f35c016f3
Upgrade Earcut
...
Earcut has been updated to version 2.2.4. This release improves performance by 10-15% and fixes 2 rare race conditions that could leave to infinite loops. Earcut is used internally by Graphics and Shape game objects when triangulating polygons for complex shapes.
2022-11-22 23:51:20 +00:00
Trissolo
822e1401cf
Replace the typedef of the last parameter with the more appropriate 'Phaser.Math.Vector2Like'
2022-10-26 08:58:55 +02:00
Trissolo
b9467f6f5e
If the 'out' parameter is not passed in, do not create an useless new Phaser.Geom.Point, because, having no external references, it will be unreachable.
2022-10-25 09:17:56 +02:00
Richard Davey
59fbcc5ca3
Updated copyright year
2022-02-28 14:29:51 +00:00
Richard Davey
3c429088e4
Use the new isRay parameter
2021-10-28 15:01:51 +01:00
Richard Davey
7b976d6d8e
The Geom.Intersects.GetLineToPolygon
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
d587b8f5a7
The Geom.Intersects.GetLineToPoints
method has a new optional parameter isRay
. If true
it will treat the line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
50b02e9cdf
The Geom.Intersects.GetLineToLine
method has a new optional parameter isRay
. If true
it will treat the first line parameter as a ray, if false, as a line segment (the default).
2021-10-28 15:01:51 +01:00
Richard Davey
b57afb45c9
Fixed eslint issues in #5701
2021-09-22 11:44:43 +01:00