deadsy / sdfx

A simple CAD package using signed distance functions
MIT License
543 stars 51 forks source link

Remove go3mf transitive dependency from sdf package #66

Closed Yeicor closed 1 year ago

Yeicor commented 1 year ago

I moved the vector conversion function for go3mf points to the render package (render/3mf.go), as it is the only place that uses this function.

This is needed to build a project that only uses the sdf package with TinyGo, as TinyGo does not support the encoding/xml package that go3mf depends upon. I need this for https://github.com/Yeicor/sdf-viewer-go to work.