TeamAtomECS / AtomECS

Cold atom simulation code
GNU General Public License v3.0
46 stars 12 forks source link

Added functionality for keyframe ramping of components. #35

Closed ElliotB256 closed 3 years ago

ElliotB256 commented 3 years ago

The ramps can be performed for any component that implements the Lerp trait. To define a ramp for a component C, add a Ramp<C> to the same entity, and add a RampUpdateSystem<C> to the dispatcher.

Also added unit tests, which include a minimal example.

Signed-off-by: Elliot Bentine 7041164+ElliotB256@users.noreply.github.com