Skip to content

Simple Quadratic/Cubic curve implementations in Unity.

License

Notifications You must be signed in to change notification settings

JPBotelho/Splines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Splines

Simple Quadratic/Cubic curve implementations in Unity.

The curves have their own data structure, allowing you to create at start, sample whenever you want and update point locations and point count.

Bubble

Contains

Quadratic Curve data structure; Cubic Curve data structure.

Curves classes contain:

Evaluate(float t)
Draw()
Update(p1, p2, pivot, [pivot2])
UpdatePointCount(int count)
Next()

Feel free to make pull requests and add more spline types!

Consider buying me a coffee if you like my work (click the image)

Foo

About

Simple Quadratic/Cubic curve implementations in Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages