Skip to content

Commit

Permalink
fix formatting in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendzae committed Mar 9, 2024
1 parent 2fd4b2d commit dddf1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ you will have to implement it yourself.
```rust
use bevy_replicon_snap_macros::{Interpolate};

#[derive(Component, Deserialize, Serialize, Interpolate, Clone)] struct
PlayerPosition(Vec2);
#[derive(Component, Deserialize, Serialize, Interpolate, Clone)]
struct PlayerPosition(Vec2);
```

Next you need to register the component for Interpolation:
Expand Down

0 comments on commit dddf1cc

Please sign in to comment.