Nilirad / bevy_prototype_lyon

Draw 2D shapes in Bevy
Apache License 2.0
702 stars 87 forks source link

Use #[derive(Component)] #118

Closed Nilirad closed 3 years ago

Nilirad commented 3 years ago

The main branch of Bevy now requires Components to be explicitly defined. I added #[derive(Component)] where necessary. I also wrapped lyon_tessellation::path::Path into a Path newtype in order to derive the Component trait on it.