Skip to main content

stabilizer_as_gltf_data

Function stabilizer_as_gltf_data 

Source
pub fn stabilizer_as_gltf_data(
    generator: &StabilizerGenerator,
    g: &BlockGraph,
    pipe_length: f32,
) -> Result<GltfData, BlockGraphError>
Expand description

Builds the geometry visualizing a stabilizer’s support overlaid on the graph.

§Errors

Returns a BlockGraphError if the stabilizer cannot be resolved against the graph’s derived faces.