![]() # 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. |
||
---|---|---|
.. | ||
cubic_splines.rs | ||
lib.rs | ||
ray.rs | ||
rect.rs |