Skip to content

Commit 757796b

Browse files
committed
aab no more
1 parent 3f4467e commit 757796b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/3d/3d_debug_draw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn setup(mut commands: Commands) {
2020
}
2121

2222
fn system(mut draw: ResMut<DebugDraw>, time: Res<Time>) {
23-
draw.aab(Vec3::Y * -0.5, Vec3::new(5., 1., 2.), Color::BLACK);
23+
draw.cuboid(Vec3::Y * -0.5, Quat::IDENTITY, Vec3::new(5., 1., 2.), Color::BLACK);
2424
draw.rect(
2525
Vec3::new(time.elapsed_seconds().cos() * 2.5, 1., 0.),
2626
Quat::from_rotation_y(PI / 2.),

0 commit comments

Comments
 (0)