Versions in this module Expand all Collapse all v4 v4.0.0 Apr 20, 2020 Changes in this version + var Black = Color + var White = Color + func TriangleLess(t []*gl.Triangle) func(a, b int) bool + type BinVOX struct + ColorVoxels ColorVoxelMap + NX int + NY int + NZ int + Scale float64 + TX float64 + TY float64 + TZ float64 + WhiteVoxels WhiteVoxelMap + func New(nx, ny, nz int, offx, offy, offz, scale float64, fullColor bool) *BinVOX + func Read(filename string, sx, sy, sz, nx, ny, nz int) (*BinVOX, error) + func (b *BinVOX) Add(x, y, z int) + func (b *BinVOX) AddColor(x, y, z int, c Color) + func (b *BinVOX) Dim() int + func (b *BinVOX) Get(x, y, z int) (color Color, ok bool) + func (b *BinVOX) MBB() *gl.Box + func (b *BinVOX) ManifoldMesh() *gl.Mesh + func (b *BinVOX) MarchingCubes() *gl.Mesh + func (b *BinVOX) String() string + func (b *BinVOX) ToMesh() *gl.Mesh + func (b *BinVOX) Voxelize(mesh *gl.Mesh) error + func (b *BinVOX) VoxelizeZ(mesh *gl.Mesh, zi int) error + func (b *BinVOX) VoxelsPerMM() float64 + func (b *BinVOX) Write(filename string, sx, sy, sz, nx, ny, nz int) error + type Color struct + A float64 + B float64 + G float64 + R float64 + type ColorVoxelMap map[Key]Color + type Key struct + X int + Y int + Z int + type WhiteVoxelMap map[Key]struct Other modules containing this package github.com/gmlewis/stldice github.com/gmlewis/stldice/v2 github.com/gmlewis/stldice/v3