Skip to main content

append_field_prism

Function append_field_prism 

Source
pub fn append_field_prism(
    field: &DistanceField2D,
    half_depth: f32,
    color: [f32; 4],
    mesh: &mut TriangleMesh<3>,
) -> bool
Expand description

Appends the triangulated extrusion and returns whether the field enclosed any area.