Skip to content

Commit 20f2556

Browse files
committed
doc
1 parent 3d553cf commit 20f2556

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
99
-->
1010

1111
## [Unreleased]
12+
## [0.15.1-alpha10] - 2025-01-23
13+
14+
- fix doc mistakes
15+
1216
## [0.15.1-alpha9] - 2025-01-22
1317

1418
- fix doc mistakes

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["bevy_quadtree"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "0.15.1-alpha9"
6+
version = "0.15.1-alpha10"
77
authors = ["Louis <[email protected]>"]
88
description = "A quadtree plugin for bevy"
99
license = "MIT"

bevy_quadtree/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fn main() {
116116
.add_plugins(QuadTreePlugin::<(
117117
(CollisionCircle, GlobalTransform), (CollisionRect, (GlobalTransform, Sprite)),
118118
),
119-
8, 40, 100, 100, 20>::default()
119+
40, 8, 100, 100, 20>::default()
120120
)
121121
// CollisionCircle follows GlobalTransform, CollisionRect follows Sprite and GlobalTransform
122122
// at most 40 entities in a node
@@ -147,7 +147,7 @@ cmds.spawn((
147147
4. Query the quadtree like bevy's `Or, Not`:
148148

149149
```rust ignore
150-
type MyQuadTree = QuadTree<8, 40, 100, 100, 20>;
150+
type MyQuadTree = QuadTree<40, 8, 100, 100, 20>;
151151

152152
fn pick(
153153
mut gizmos: Gizmos,

bevy_quadtree/src/plugin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use bevy_transform::components::GlobalTransform;
6161
/// (CollisionRotatedRect, GlobalTransform),
6262
/// (CollisionRect, Sprite),
6363
/// ),
64-
/// 4, 40, 100, 100, 20>::default());
64+
/// 40, 4, 100, 100, 20>::default());
6565
/// ```
6666
#[derive(Debug)]
6767
pub struct QuadTreePlugin<

0 commit comments

Comments
 (0)