From 62eb18d312f720a5aac8f508fe223146a24fc7f0 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Sat, 3 Feb 2024 13:59:30 -0800 Subject: [PATCH] Fix del-msh version to avoid breakage from their non-semver --- Cargo.toml | 2 +- examples/ray-query/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e26fec6b..30417cf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,7 +70,7 @@ egui-gizmo = "0.12" egui_plot = "0.23" egui-winit = "0.23" env_logger = "0.10" -del-msh = "0.1.22" +del-msh = "=0.1.24" # not following semver :( 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 377e015e..9f9dbb4f 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::trimesh3_primitive::from_torus(TORUS_RADIUS, 1.0, 100, 20); + del_msh::trimesh3_primitive::torus_yup(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,