jscad / csg.js

DEPRECATED: CSG Library for JSCAD (See the link below)
https://github.com/jscad/OpenJSCAD.org/tree/master/packages/modeling
MIT License
218 stars 56 forks source link

fix center() for non-uniform geometries #130

Closed jeremy-brenner closed 5 years ago

jeremy-brenner commented 5 years ago

Fixes this:

screen shot 2018-12-15 at 11 43 46 am
z3dev commented 5 years ago

@jeremy-brenner Thanks for the fix.

@kaosat-dev Please review. These changes look fine, and include a new test case as well.

kaosat-dev commented 5 years ago

@jeremy-brenner wow good catch ! Thanks for the fix !