Files
2026-07-13 13:05:14 +08:00

14 lines
264 B
Rust

// 0.8
use rerun::{components::Point3D, MsgSender};
let positions = vec![Point3D::from([1.0, 2.0, 3.0])];
MsgSender::new("points")
.with_component(&positions)?
.send(&rec)?;
// 0.9
rec.log(
"points",
&rerun::Points3D::new([(1.0, 2.0, 3.0)]),
)?;