NURBS spline for generating CubicCurve
#10220
Labels
A-Math
Fundamental domain-agnostic mathematical operations
C-Feature
A new feature, making something new possible
S-Needs-Design
This issue requires design work to think about how it would best be accomplished
What problem does this solve or what need does it fill?
NURBS (Non-Uniform rational B-spline) is a variation of b-spline that allows specifying weights to control points to control how much that point influences the curve. One particular use case for this would be making ends of a curve composed of multiple segments actually go go through the start and end control points.
What solution would you like?
A new type of spline in
bevy::math::cubic_splines
that allows generating curves via NURBS.What alternative(s) have you considered?
Custom implementation based on the code for BSpline already in the engine but altered to allow setting weights directly instead of being constant
Additional context
Example of a NURBS curve:
The text was updated successfully, but these errors were encountered: