Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line not rendering with line_width less than 10.0 #259

Open
RyanChomistek opened this issue Nov 4, 2024 · 0 comments
Open

Line not rendering with line_width less than 10.0 #259

RyanChomistek opened this issue Nov 4, 2024 · 0 comments

Comments

@RyanChomistek
Copy link

RyanChomistek commented Nov 4, 2024

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
    }
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant