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 Improve code/comments for Ray::intersect_plane and its tests (#6823) 2022-12-05 22:49:06 +00:00
rect.rs add serialize feature to bevy_transform (#6379) 2022-10-31 16:12:15 +00:00