Reintroduce 0.14.2 behavior for splines inner elements
Open
A-Math
C-Bug
S-Ready-For-Implementation
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
Bevy 0.14.2 -> 0.15
In this version,
`let mut catmull = CubicCardinalSpline::new_catmull_rom(points.clone()).to_curve();`
the CubicCardinalSpline won't let me access the undelrying segments, which is needed here because I modified the poitns after the initial calculation. it was possible in 0.14.2 for, e.g:
`catmull.segments.iter_mut().map(..){..}`
Now, we only have the option to iterate over segments or push a new segment but not to modify existing points.
May you reenable this behavior please ?
`catmull.segments.0` or `catmull.segments.get_mut()` ?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.