Enum line_drawing::VoxelOrigin [] [src]

pub enum VoxelOrigin {
    Corner,
    Center,
}

Where the center of the voxel is, at the center or a corner.

Generally you want Center.

Variants

Methods

impl VoxelOrigin
[src]

[src]

Round a voxel's position based on the origin.