Crate saft

source ·
Expand description

Signed distance field function compiler/interpreter/discretizer/mesher.

Modules

Structs

A 3-dimensional axis-aligned bounding box
Allows you to animate and play with the example scene.
A high-level definition of a signed distance field function
Stores values on a 3D cube lattice on the coordinates [0,0,0] - [w-1, h-1, d-1]. A 3D tensor, basically.
Represents a signed distance field function as a program with a constant pool and opcodes.
A ray in 3-dimensional space: a line through space with a starting point and a direction.
r, g, b, distance
A 3-dimensional vector.

Enums

Assembly. Lower level representation.

Traits

Functions

Type Definitions