From daec7a85ff43f737dea4abeacd50825edfc6440e Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sun, 7 Jan 2024 19:21:35 -0800 Subject: [PATCH] Update del-msh to 0.1.22 --- Cargo.toml | 3 +-- examples/ray-query/main.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 31816d85..e26fec6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,8 +70,7 @@ egui-gizmo = "0.12" egui_plot = "0.23" egui-winit = "0.23" env_logger = "0.10" -# https://github.com/nobuyuki83/del-msh/issues/1 -del-msh = "=0.1.17" +del-msh = "0.1.22" glam = { workspace = true } log = { workspace = true } mint = { workspace = true, features = ["serde"] } diff --git a/examples/ray-query/main.rs b/examples/ray-query/main.rs index 4778eaa5..464a0034 100644 --- a/examples/ray-query/main.rs +++ b/examples/ray-query/main.rs @@ -113,7 +113,7 @@ impl Example { }); let (indices_usize, vertex_values) = - del_msh::primitive::torus_tri3(TORUS_RADIUS, 1.0, 100, 20); + del_msh::trimesh3_primitive::from_torus(TORUS_RADIUS, 1.0, 100, 20); let vertex_buf = context.create_buffer(gpu::BufferDesc { name: "vertices", size: (vertex_values.len() * mem::size_of::()) as u64,