Skip to content

Commit

Permalink
bevyengine/bevy#10701 release notes
Browse files Browse the repository at this point in the history
Initial release notes for the Cubic Splines overhaul PR.
  • Loading branch information
JohnTheCoolingFan committed Jun 4, 2024
1 parent 5df3395 commit 35848f4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
TODO
The splines module in bevy has been lacking some features for a long time. Splines are extremely useful in game development, so improving them would improve everything that uses them.

The biggest addition is NURBS suport! It is a variant of a B-Spline with much more parameters that can be tweaked to create specific curve shapes.

We also added a LinearSpline, which can be used to put straight line segments in a CubicCurve, which now acts as a sequence of cure segments, so you can mix various spline types together to form a single path.

And as a small improvement, the Point trait has been implemenetd for Quaternions and 4-dimensional Vectors. This trait is implemented for types that can be used in cubic curves, so now you have more types that can be used. For example, you can use the 4th element of a Vec4 to store tilt along the path on the curve.

0 comments on commit 35848f4

Please sign in to comment.