Skip to main content

block_graph_as_gltf_data

Function block_graph_as_gltf_data 

Source
pub fn block_graph_as_gltf_data(g: &BlockGraph, pipe_length: f32) -> GltfData
Expand description

Builds the geometry for an entire block graph, laying blocks out on a grid with pipe_length-sized gaps between adjacent cells.