mirror of
https://github.com/bevyengine/bevy.git
synced 2026-07-04 01:33:14 -04:00
c516bd8f48
# Objective
`bsn!` currently requires surrounding macros in "field value position"
with `{}`:
```rust
bsn! {
Foo { value: {vec![ 100, 200 ]} }
}
```
This is annoying!
## Solution
Support macros in field-value-position:
```rust
bsn! {
Foo { value: vec![ 100, 200 ] }
}
```
## Testing
- Added a test that checks that this works
- Ported bsn! examples to use this
bevy_city
A procedurally generated city using assets from kenney
This project was inspired by https://flecs-hub.github.io/traffic/etc/. Currently it doesn't do any traffic simulation but the goal is to have a similar simulation but using bevy_ecs.