Richard Davey
|
8838781aa1
|
Create GenerateGridVerts.js
|
2020-10-08 13:23:24 +01:00 |
|
Richard Davey
|
d2ea1c45c3
|
Create GenerateObjVerts.js
|
2020-10-08 13:23:20 +01:00 |
|
Richard Davey
|
8a73523d6c
|
Create GenerateVerts.js
|
2020-10-08 13:23:17 +01:00 |
|
Richard Davey
|
b3f1a7986e
|
Create GenerateGridConfig.js
|
2020-10-08 13:23:13 +01:00 |
|
Richard Davey
|
d09764518d
|
Create GenerateGridVertsResult.js
|
2020-10-08 13:23:09 +01:00 |
|
Richard Davey
|
20f4e8a66b
|
Create GenerateVertsResult.js
|
2020-10-08 13:23:05 +01:00 |
|
Richard Davey
|
82c87ee814
|
Create materials container
|
2020-10-08 10:44:32 +01:00 |
|
Richard Davey
|
f191283928
|
Moved ParseObjMaterial to Geom namespace
|
2020-10-08 10:44:23 +01:00 |
|
Richard Davey
|
dda4431366
|
Merged the Layer3D Game Object and pipeline back in for now
|
2020-10-07 17:44:36 +01:00 |
|
Richard Davey
|
2137e3413d
|
Added cameraZ parameter
|
2020-10-07 13:15:53 +01:00 |
|
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 |
|