Static Methodheckj.voxels 0.2.6Voxels
SDFSphereQuadrant
SampleMeshData.swift:46static func SDFSphereQuadrant() -> VoxelHash<Float>
static func SDFSphereQuadrant() -> VoxelHash<Float>
s6Voxels14SampleMeshDataO17SDFSphereQuadrantAA9VoxelHashVySfGyFZ
What are these?7LZKD
import Voxels
A Swift library for storage, manipulation, export, and 3D rendering of Voxel data.
enum SampleMeshData
Example voxel collections.
struct VoxelHash<T> where T : Sendable
A collection of voxels backed by a hash table.
@frozen struct Float
A single-precision, floating-point value type.
static func HeightmapSurface() -> VoxelHash<Float>
static func SDFBrick() -> VoxelHash<Float>
static func flatYBlock() -> VoxelHash<Float>
static func manhattanNeighbor1() -> VoxelHash<Float>
static func voxelArrayFromSphere() throws -> VoxelArray<Float>