Initializerheckj.voxels 0.2.6Voxels
init
SurfaceNetRenderer.swift:26init()
init()
import Voxels
A Swift library for storage, manipulation, export, and 3D rendering of Voxel data.
class SurfaceNetRenderer
A renderer for creating smooth 3D meshes of the surface of signed distance value (SDF) data.
func render<VOXEL>(_ voxelData: any VoxelAccessible<VOXEL>, scale: VoxelScale<Float>, within bounds: VoxelBounds) -> MeshBuffer where VOXEL : VoxelSurfaceRenderable
The Naive Surface Nets smooth voxel meshing algorithm.