Static Methodheckj.voxels 0.2.6Voxels
SDFBrick
SampleMeshData.swift:54static func SDFBrick() -> VoxelHash<Float>
static func SDFBrick() -> VoxelHash<Float>
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 SDFSphereQuadrant() -> VoxelHash<Float>
static func flatYBlock() -> VoxelHash<Float>
static func manhattanNeighbor1() -> VoxelHash<Float>
static func voxelArrayFromSphere() throws -> VoxelArray<Float>