bevy/crates/bevy_math/src
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
..
cubic_splines.rs Fix CubicCurve::iter_samples iteration count (#8049) 2023-03-31 08:15:21 +00:00
lib.rs Add generic cubic splines to bevy_math (#7683) 2023-03-03 22:06:42 +00:00
ray.rs
rect.rs