Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make accessors for mesh vertices and indices public. (bevyengine#3906)
# Objective Make it easy to get position and index data from Meshes. ## Solution It was previously possible to get the mesh data by manually matching on `Mesh::VertexAttributeValues` and `Mesh::Indices`as in the bodies of these two methods (`VertexAttributeValues::as_float3(&self)` and `Indices::iter(&self)`), but that's needless duplication that making these methods `pub` fixes.
- Loading branch information