mirror of
https://github.com/bevyengine/bevy
synced 2024-12-23 03:23:20 +00:00
96078c76eb
# 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. |
||
---|---|---|
.. | ||
mesh | ||
shape | ||
mod.rs |