Skip to content

Commit

Permalink
fix bench_densithy_graph.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Jul 22, 2024
1 parent ca77d64 commit 351e319
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions crates/viewer/re_time_panel/benches/bench_density_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,10 @@ fn add_data(
let components = (0..num_rows_per_chunk).map(|i| {
let angle_deg = i as f32 % 360.0;
re_types::archetypes::Transform3D::from_rotation(
re_types::datatypes::Rotation3D::AxisAngle(
(
(0.0, 0.0, 1.0),
re_types::datatypes::Angle::from_degrees(angle_deg),
)
.into(),
),
re_types::datatypes::RotationAxisAngle {
axis: (0.0, 0.0, 1.0).into(),
angle: re_types::datatypes::Angle::from_degrees(angle_deg),
},
)
});

Expand Down

0 comments on commit 351e319

Please sign in to comment.