bevy/crates/bevy_math
Jannik Obermann f201a9df39
Fix CubicCurve::iter_samples iteration count (#8049)
# Objective

Fix `CubicCurve::iter_samples` iteration count.

## Solution

If I understand the function and the docs correctly, this should iterate
over `0..=subdivisions` instead of `0..subdivisions`.
For example: Now the iteration returns 3 points at `subdivisions = 2`,
as indicated in the documentation.
2023-03-31 08:15:21 +00:00
..
src Fix CubicCurve::iter_samples iteration count (#8049) 2023-03-31 08:15:21 +00:00
Cargo.toml Re-export glam_assert feature (#8232) 2023-03-28 20:18:50 +00:00