Richard Davey
|
c6d25c9559
|
Added z parameter
|
2020-10-07 13:15:44 +01:00 |
|
Richard Davey
|
e331638b05
|
Updated to use transformed values
|
2020-10-07 12:04:58 +01:00 |
|
Richard Davey
|
a367799da1
|
Update Vertex.js
|
2020-10-07 12:04:16 +01:00 |
|
Richard Davey
|
7a0b056fef
|
Trying out MeshCamera
|
2020-10-06 18:05:14 +01:00 |
|
Richard Davey
|
7287a760ae
|
Added ParseOBJ type defs
|
2020-10-06 10:38:21 +01:00 |
|
Richard Davey
|
eb6d342607
|
Merged the Mesh Geometry functions back in and completed the JSDocs
|
2020-10-05 16:52:44 +01:00 |
|
Richard Davey
|
3baecb19d4
|
Moved old mesh pipeline and code into own folder
|
2020-10-01 17:56:49 +01:00 |
|
Richard Davey
|
6ab0803469
|
Fixed path
|
2020-09-30 15:11:42 +01:00 |
|
Richard Davey
|
95b9ba55de
|
Added setPosition and setScale
|
2020-09-22 15:25:09 +01:00 |
|
Richard Davey
|
fe17dfc022
|
Updated docs
|
2020-09-22 12:48:23 +01:00 |
|
Richard Davey
|
183e68580f
|
Fixed dirty flag reset
|
2020-09-22 11:45:49 +01:00 |
|
Richard Davey
|
bd25dbc355
|
Added per-model cull mode
|
2020-09-22 11:39:26 +01:00 |
|
Richard Davey
|
3950191468
|
Lots of docs and tidying up
|
2020-09-21 18:24:47 +01:00 |
|
Richard Davey
|
6abeb84ff6
|
Remove Face and Vertex classes
|
2020-09-21 18:24:03 +01:00 |
|
Richard Davey
|
24f7c2e3df
|
Updated to use RGB objects, finished missing methods
|
2020-09-21 15:57:57 +01:00 |
|
Richard Davey
|
7a8932a3a4
|
Remove log
|
2020-09-21 14:04:52 +01:00 |
|
Richard Davey
|
7f7d7a1b2e
|
Can now rotate the model
|
2020-09-21 10:13:58 +01:00 |
|
Richard Davey
|
0ad265da2e
|
Removed faces and verts arrays as moved to a single ArrayBuffer instance
|
2020-09-21 00:17:38 +01:00 |
|
Richard Davey
|
8366d90f96
|
Added material and other new methods
|
2020-09-18 17:52:53 +01:00 |
|
Richard Davey
|
371fb5e68a
|
Added normals, removed Vec3
|
2020-09-18 17:50:47 +01:00 |
|
Richard Davey
|
87ed734475
|
Easier iteration
|
2020-09-17 10:08:07 +01:00 |
|
Richard Davey
|
f853a2be70
|
Use the projected coordinates
|
2020-09-17 10:07:56 +01:00 |
|
Richard Davey
|
38958d025a
|
We need the z axis
|
2020-09-17 10:07:19 +01:00 |
|
Richard Davey
|
8ca1730cc1
|
Remove log
|
2020-09-16 17:49:00 +01:00 |
|
Richard Davey
|
303f09b23e
|
Final JSDocs
|
2020-09-16 17:25:42 +01:00 |
|
Richard Davey
|
fcf0867843
|
Final JSDocs
|
2020-09-16 17:15:25 +01:00 |
|
Richard Davey
|
fcd1cf96b8
|
Added dirty handling, drawDebug and destroy
|
2020-09-16 16:38:53 +01:00 |
|
Richard Davey
|
a96d380933
|
Created new Geom.Mesh namespace for all of the Mesh related functions and classes
|
2020-09-16 13:50:36 +01:00 |
|
Richard Davey
|
a0b47e8c5f
|
Geom.ParseObj is a new function that will parse a Wavefront OBJ file into model data that can be consumed by the Mesh Game Object.
|
2020-09-15 18:05:47 +01:00 |
|
Richard Davey
|
1f50b49eff
|
Earcut has now been exposed and is available via Geom.Polygon.Earcut and is fully documented.
|
2020-08-25 09:54:03 +01:00 |
|
Richard Davey
|
2db1496511
|
Geom.Polygon.Simplify is a new function that takes a polygon and simplifies the points by running them through a combination of Douglas-Peucker and Radial Distance algorithms, potentially dramatically reducing the number of points while retaining its shape.
|
2020-08-18 18:05:45 +01:00 |
|
Richard Davey
|
305ea40baf
|
Update GetRaysFromPointToPolygon.js
|
2020-08-18 18:05:38 +01:00 |
|
Richard Davey
|
616dbfceb5
|
Earcut, used for polygon triangulation, has been updated from 2.1.4 to 2.2.2.
|
2020-08-18 17:24:45 +01:00 |
|
Richard Davey
|
995cfb6271
|
Expose new function
|
2020-08-18 17:05:12 +01:00 |
|
Richard Davey
|
74f24a06f3
|
Use new GetLineToPoints function
|
2020-08-18 17:05:06 +01:00 |
|
Richard Davey
|
1a1275958f
|
Only test unique angles
|
2020-08-18 17:04:55 +01:00 |
|
Richard Davey
|
4678fc7186
|
Geom.Intersects.GetLineToPoints is a new function that checks for the closest point of intersection between a line segment and an array of points, where each pair of points form a line segment.
|
2020-08-18 17:04:32 +01:00 |
|
Richard Davey
|
06c92f9af8
|
Geom.Intersects.GetRaysFromPointToPolygon is a new function that emits rays out from the given point and detects for intersection against all given polygons, returning the points of intersection in the results array.
|
2020-08-17 15:05:46 +01:00 |
|
Richard Davey
|
4baa0522b9
|
Bumping to 3.50
|
2020-07-31 13:41:29 +01:00 |
|
Richard Davey
|
ce9c750175
|
Geom.Polygon.Translate is a new function that allows you to translate all the points of a polygon by the given values.
|
2020-07-30 12:58:35 +01:00 |
|
Richard Davey
|
ee92d1dac9
|
Geom.Intersects.GetLineToPolygon is a new function that checks for the closest point of intersection between a line segment and an array of polygons.
|
2020-07-29 18:12:40 +01:00 |
|
Richard Davey
|
517183fd2e
|
Geom.Intersects.GetLineToLine is a new function that will return a Vector3 containing the point of intersection between 2 line segments, with the z property holding the distance value.
|
2020-07-29 17:15:57 +01: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
|
5f4941d9a4
|
Fixed this return types for Phaser.Geom.Triangle
|
2020-01-30 23:41:35 +08:00 |
|
Jason Kwok
|
77cae094d9
|
Fixed this return types for Phaser.Geom.Rectangle
|
2020-01-30 23:40:25 +08:00 |
|
Jason Kwok
|
24fbe810df
|
Fixed this return types for Phaser.Geom.Polygon
|
2020-01-30 23:39:08 +08:00 |
|
Jason Kwok
|
edb035512b
|
Fixed this return types for Phaser.Geom.Point
|
2020-01-30 23:37:03 +08:00 |
|
Jason Kwok
|
6dd76958fd
|
Fixed this return types for Phaser.Geom.Line
|
2020-01-30 23:33:40 +08:00 |
|
Jason Kwok
|
5d11497e67
|
Fixed this return types for Phaser.Geom.Ellipse
|
2020-01-30 23:32:05 +08:00 |
|
Jason Kwok
|
c8f6dfdabe
|
Fixed this return types for Phaser.Geom.Circle
|
2020-01-30 23:29:34 +08:00 |
|
Richard Davey
|
6a72524869
|
Added new GetEasedPoints function
|
2020-01-20 23:34:33 +00: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 |
|
Richard Davey
|
439d50ee9f
|
Update Polygon.js
|
2020-01-11 16:18:56 +00:00 |
|
Chnapy
|
9bb02d57ef
|
improve typings: getPoints functions
|
2020-01-03 13:21:50 +01:00 |
|
Chnapy
|
3dfec6fbc3
|
improve typings: BresenhamPoints function
|
2020-01-02 20:18:14 +01: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
|
0ba697ee4a
|
JSDoc updates
|
2019-11-18 16:02:34 +00:00 |
|
Josh Soref
|
02a7169129
|
spelling: vertex
|
2019-10-29 02:41:21 -04:00 |
|
Josh Soref
|
0be8286887
|
spelling: intersection
|
2019-10-29 02:24:28 -04: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 |
|
Josh Soref
|
b394e7d777
|
spelling: collinear
|
2019-10-29 01:49:07 -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 |
|
florianvazelle
|
669764a1be
|
Fix GetLineToCircle
|
2019-04-23 21:29:10 +02:00 |
|
florianvazelle
|
97b611356b
|
Fix result when y0 === y1
|
2019-04-23 21:27:55 +02:00 |
|
florianvazelle
|
21f4ec44d8
|
Final Update
|
2019-04-09 10:52:35 +02:00 |
|
florianvazelle
|
0c59c83f6b
|
Create new functions to get intersections
|
2019-03-07 10:32:29 +01:00 |
|
florianvazelle
|
1b59cedcfe
|
Add out argument in intersect functions
|
2019-03-07 10:32:29 +01:00 |
|
Richard Davey
|
56dfdb7a74
|
More jsdoc global fixes
|
2019-02-12 12:14:26 +00:00 |
|
Richard Davey
|
aa341854c7
|
Happy New Year
|
2019-01-15 16:20:22 +00:00 |
|
Richard Davey
|
6a361ba8ea
|
Line.Extend is a new static function that allows you extend the start and/or end points of a Line by the given amounts.
|
2019-01-05 00:38:20 +00:00 |
|
Richard Davey
|
a40b6056f5
|
Added jsdocs
|
2018-12-20 12:12:20 +00:00 |
|
Richard Davey
|
27c1426856
|
Updated earcut from 2.1.1 to 2.1.4.
|
2018-12-10 16:35:11 +00:00 |
|
Richard Davey
|
2780babe10
|
Final Doc Jam merge
|
2018-12-03 15:16:23 +00:00 |
|
Richard Davey
|
052da6e40c
|
lint fix
|
2018-11-27 14:04:19 +00:00 |
|
Richard Davey
|
91e4a91c5a
|
Added GetNearestPoint and GetShortestDistance methods
|
2018-11-27 00:42:37 +00:00 |
|
Richard Davey
|
2c78c22112
|
Geom.Intersects.PointToLine has a new optional argument lineThickness (which defaults to 1). This allows you to determine if the point intersects a line of a given thickness, where the line-ends are circular (not square)
|
2018-11-26 23:28:07 +00:00 |
|
Richard Davey
|
956a0913b8
|
Added new jsdocs
|
2018-10-22 12:12:31 +01:00 |
|
Richard Davey
|
07bb619c5e
|
Added jsdocs
|
2018-10-19 16:14:51 +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
|
38cacfd9f7
|
Added new jsdocs
|
2018-09-28 16:37:55 +01:00 |
|
Richard Davey
|
82ddc031c7
|
Added new batch of jsdocs
|
2018-09-27 15:29:32 +01:00 |
|
Richard Davey
|
684838aabe
|
Polygon.setTo can now take a string of space separated numbers when creating the polygon data, i.e.: '40 0 40 20 100 20 100 80 40 80 40 100 0 50' . This update also impacts the Polygon Shape object, which can now also take this format as well.
|
2018-09-26 11:01:48 +01:00 |
|
Richard Davey
|
89b9f42f3e
|
Adding jsdocs
|
2018-09-24 23:20:43 +01:00 |
|
Richard Davey
|
b54de56c85
|
Added Polygon.Smooth and exposed Polygon.Reverse
|
2018-09-06 00:16:56 +01:00 |
|
Richard Davey
|
2c4f0d0d68
|
Added missing jsdocs for #3996
|
2018-09-01 10:19:38 +01:00 |
|