Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Apr 29, 2024
1 parent 1e2bf1a commit b507071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/re_types/src/components/mesh_properties_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use super::MeshProperties;
impl MeshProperties {
/// Create a new [`MeshProperties`] from an iterable of the triangle indices.
///
/// Each triangle is defined by a UVec3D, where the 3 values are the indices of the 3 vertices
/// of the triangle.
/// Each triangle is defined by a [`UVec3D`] (or something that can be converted into it),
/// where the 3 values are the indices of the 3 vertices of the triangle.
#[inline]
pub fn from_triangle_indices(indices: impl IntoIterator<Item = impl Into<UVec3D>>) -> Self {
Self(crate::datatypes::MeshProperties::from_triangle_indices(
Expand Down

0 comments on commit b507071

Please sign in to comment.