Skip to content

Commit

Permalink
Update del-msh to 0.1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Jan 8, 2024
1 parent 53d8e88 commit daec7a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/ray-query/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<f32>()) as u64,
Expand Down

0 comments on commit daec7a8

Please sign in to comment.