Skip to content

Line not rendering with line_width less than 10.0 #259

@RyanChomistek

Description

@RyanChomistek

if the line width is less than 10.0 I'm not seeing the line render, i.e.

let shape = shapes::Line {
    0: Vec2::new(0,0),
    1: Vec2::new(1000,1000)
};

commands.spawn((
    ShapeBundle {
        path: GeometryBuilder::build_as(&shape),
        ..default()
    },
    Fill::color(DARK_CYAN),
    Stroke::new(BLACK, 5.0),
    HierarchyLink {
        from: selected_entity,
        to: parent
    }
));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions