GitBrincie212 / Apel-Mod

Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Other
2 stars 1 forks source link

Add Bezier instruction #18

Closed DarthSharkie closed 2 months ago

DarthSharkie commented 2 months ago

Uses 'B' as the code, followed by the number of control points. It then proceeds to read/write the position, start, control points, end, rotation, and particle count for each Bezier curve. One instruction corresponds to one curve, so if a ParticleBezierCurve contains N curves, then N Instructions will be sent.

This also adds a mechanism by which the control points can be retrieved and properly scopes the start and end points within the specialized BezierCurve objects to be protected.