Skip to content

Commit

Permalink
Remove 10701 release notes merging into 12747
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTheCoolingFan committed Jun 4, 2024
1 parent 5df23ca commit c7f69c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Linear algebra is used everywhere in games, and we want to make sure it's easy to get right. That's why we've added a new `VectorSpace` trait, as part of our work to make `bevy_math` more general, expressive, and mathematically sound. Anything that implements `VectorSpace` behaves like a vector. More formally, the trait requires that implementations satisfy the vector space axioms for vector addition and scalar multiplication. We've also added a `NormedVectorSpace` trait, which includes an api for distance and magnitude.

These traits underpin the new curve and shape sampling apis. `VectorSpace` is implemented for `f32`, the `glam` vector types, and several of the new color-space types. It completely replaces `bevy_math::Point`.

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 support! 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 VectorSpace trait has been implemented 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.
8 changes: 1 addition & 7 deletions release-content/0.14/release-notes/_release-notes.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ authors = ["@chescock","@james7132","@hymm"]
url = "https://github.com/bevyengine/bevy/pull/11906"
file_name = "11906_Run_the_multithreaded_executor_at_the_end_of_each_system_t.md"

[[release_notes]]
title = "Cubic splines overhaul"
authors = ["@JohnTheCoolingFan","@NthTensor","@Jondolf","@IQuick143","@alice-i-cecile"]
url = "https://github.com/bevyengine/bevy/pull/10701"
file_name = "10701_Cubic_splines_overhaul.md"

[[release_notes]]
title = "Add coordinate axes gizmo"
authors = ["@mweatherley"]
Expand Down Expand Up @@ -144,7 +138,7 @@ file_name = "12394_Gizmo_line_styles.md"

[[release_notes]]
title = "Move `Point` out of cubic splines module and expand it"
authors = ["@mweatherley","@bushrat011899"]
authors = ["@mweatherley","@bushrat011899","@JohnTheCoolingFan","@NthTensor","@Jondolf","@IQuick143","@alice-i-cecile"]
url = "https://github.com/bevyengine/bevy/pull/12747"
file_name = "12747_Move_Point_out_of_cubic_splines_module_and_expand_it.md"

Expand Down

0 comments on commit c7f69c8

Please sign in to comment.