Skip to content

Commit

Permalink
Update documents
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilirad committed Jul 5, 2024
1 parent 60da2e5 commit 919a647
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 21 deletions.
22 changes: 6 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
# Changelog
## 0.10.0
- Support for Bevy 0.12.
- `ShapeBundle` now contains the `spatial: SpatialBundle` field, which bundles together `Transform`, `GlobalTransform`, `Visibility` and `InheritedVisibility`.

## 0.9.0
- Support for Bevy 0.11.
## 0.12.0
- Support for Bevy 0.14.

## 0.11.0
- Support for Bevy 0.13
- Support for Bevy 0.13.

## 0.10.0
- Support for Bevy 0.12

## 0.9.0
- `ShapeBundle` now contains the `spatial: SpatialBundle` field,
which bundles together
`Transform`,
`GlobalTransform`,
`Visibility`
and `InheritedVisibility`.
- Support for Bevy 0.12.
- `ShapeBundle` now contains the `spatial: SpatialBundle` field, which bundles together `Transform`, `GlobalTransform`, `Visibility` and `InheritedVisibility`.

## 0.9.0
- Support for Bevy 0.11.
- `ShapeBundle` now contains the `spatial: SpatialBundle` field,
which bundles together
`Transform`,
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ cargo add bevy_prototype_lyon
Then, you can start by drawing simple shapes:

```rust
use bevy::prelude::*;
use bevy::{color::palettes::css::*, prelude::*};
use bevy_prototype_lyon::prelude::*;

fn main() {
App::new()
.insert_resource(Msaa::Sample4)
.add_plugins(DefaultPlugins)
.add_plugins(ShapePlugin)
.add_plugins((DefaultPlugins, ShapePlugin))
.add_systems(Startup, setup_system)
.run();
}
Expand All @@ -52,8 +51,8 @@ fn setup_system(mut commands: Commands) {
path: GeometryBuilder::build_as(&shape),
..default()
},
Fill::color(Color::CYAN),
Stroke::new(Color::BLACK, 10.0),
Fill::color(DARK_CYAN),
Stroke::new(BLACK, 10.0),
));
}
```
Expand All @@ -68,6 +67,7 @@ The following table shows the latest version of `bevy_prototype_lyon` that suppo

|bevy|bevy_prototype_lyon|license|
|---|---|---|
|0.14|0.12|MIT/Apache 2.0|
|0.13|0.11|MIT/Apache 2.0|
|0.12|0.10|MIT/Apache 2.0|
|0.11|0.9|MIT/Apache 2.0|
Expand Down

0 comments on commit 919a647

Please sign in to comment.