Closed z3dev closed 5 years ago
The latest changes reverted the structure to use vertices, and consistently use vertices (vertex) across all functions. NOTE: The structure of poly3 is still not complete as color needs to be supported.
In addition, measureArea was corrected and tested (late V1 fixes).
@kaosat-dev Do you know if these functions are required for poly3? I don't believe these are being used anywhere in the library.
measureBoundingBox.js measureBoundingSphere.js measureSignedVolume.js
@z3dev yes they are, but they still are called using the old .getBounds()
calls which use all of those internally
@kaosat-dev please reveiw again.
NOTE: measureSignedVolume is totally worthless, as planar polygons do not have volume.
@kaosat-dev please review again.
this is done, and even beautified (as per eslint)
thanks for the tweaks & changes @z3dev ! Looks good to me !
These changes integrate fixes for poly3, as well as add tests for each of the functions.