Skip to content

Instantly share code, notes, and snippets.

View cactorium's full-sized avatar

Kelvin Ly cactorium

View GitHub Profile
@cactorium
cactorium / bih3.go
Last active February 4, 2023 13:42
Extract from CNC slicer project for SDF for a mesh
package cnc_slicer
import (
"gonum.org/v1/gonum/spatial/r3"
)
import (
"fmt"
"math"
"sort"