We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e84aa5 commit 731d941Copy full SHA for 731d941
1 file changed
crates/re_viewer/src/ui/view_spatial/scene/scene_part/boxes3d.rs
@@ -64,7 +64,7 @@ impl Boxes3DPart {
64
let color =
65
annotation_info.color(color.map(move |c| c.to_array()).as_ref(), default_color);
66
67
- let scale = glam::Vec3::from(half_size);
+ let scale = glam::Vec3::from(half_size) * 2.0;
68
let rot = rotation.map(glam::Quat::from).unwrap_or_default();
69
let tran = position.map_or(glam::Vec3::ZERO, glam::Vec3::from);
70
let transform = glam::Affine3A::from_scale_rotation_translation(scale, rot, tran);
0 commit comments