```rs #[tokio::test] async fn fusion_lines() { let (client, _event_loop) = crate::client::Client

#[tokio::test]
async fn fusion_lines() {
let (client, _event_loop) = crate::client::Client::connect_with_async_loop()
.await
.unwrap();

let _lines = Lines::builder()
.spatial_parent(client.get_root())
.points(vec![
LinePoint {
thickness: 0.01,
..Default::default()
},
LinePoint {
point: Vector3 {
x: 0.0,
y: 1.0,
z: 0.0,
},
thickness: 0.01,
..Default::default()
},
])
.build()
.unwrap();

tokio::time::sleep(core::time::Duration::from_secs(60)).await;
}
#[tokio::test]
async fn fusion_lines() {
let (client, _event_loop) = crate::client::Client::connect_with_async_loop()
.await
.unwrap();

let _lines = Lines::builder()
.spatial_parent(client.get_root())
.points(vec![
LinePoint {
thickness: 0.01,
..Default::default()
},
LinePoint {
point: Vector3 {
x: 0.0,
y: 1.0,
z: 0.0,
},
thickness: 0.01,
..Default::default()
},
])
.build()
.unwrap();

tokio::time::sleep(core::time::Duration::from_secs(60)).await;
}
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?