Skip to content

Commit

Permalink
doc string fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Oct 18, 2024
1 parent fd12064 commit b2229e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/viewer/re_renderer/src/mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pub enum MeshError {
pub struct Material {
pub label: DebugLabel,

/// Index range within the owning [`Mesh`] that should be rendered with this material.
/// Index range within the owning [`CpuMesh`] that should be rendered with this material.
pub index_range: Range<u32>,

/// Base color texture, also known as albedo.
Expand Down Expand Up @@ -190,7 +190,7 @@ pub struct GpuMesh {

#[derive(Clone)]
pub struct GpuMaterial {
/// Index range within the owning [`Mesh`] that should be rendered with this material.
/// Index range within the owning [`CpuMesh`] that should be rendered with this material.
pub index_range: Range<u32>,

pub bind_group: GpuBindGroup,
Expand Down

0 comments on commit b2229e0

Please sign in to comment.