Skip to content

Commit

Permalink
docs(modeling): corrected aliases to hullPoints2 and hullPoints3
Browse files Browse the repository at this point in the history
  • Loading branch information
JAG committed Jun 20, 2024
1 parent 149340d commit 9ed0dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/modeling/src/operations/hulls/hullPoints2.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const vec2 = require('../../maths/vec2')
*
* @param {Array} uniquePoints - list of UNIQUE points from which to create a hull
* @returns {Array} a list of points that form the hull
* @alias module:modeling/hulls.hullPoints2
*/
const hullPoints2 = (uniquePoints) => {
// find min point
Expand Down
1 change: 1 addition & 0 deletions packages/modeling/src/operations/hulls/hullPoints3.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const quickhull = require('./quickhull')
*
* @param {Array} uniquePoints - list of UNIQUE points from which to create a hull
* @returns {Array} a list of polygons (poly3)
* @alias module:modeling/hulls.hullPoints3
*/
const hullPoints3 = (uniquePoints) => {
const faces = quickhull(uniquePoints, { skipTriangulation: true })
Expand Down

0 comments on commit 9ed0dd2

Please sign in to comment.