Make additive calculations more generic in preparation for keyframe additive animation support.
ClosedPublic

Authored by featherless on Mon, Mar 20, 2:57 PM.

Details

Summary

This also allows us to remove the Zeroable constraint on the coreAnimationSpringToStream API.

Diff Detail

Repository
rREACTIVEMOTIONSWIFT reactive-motion-swift
Branch
adding (branched from develop)
Lint
Lint OK
Unit
Unit Tests OK
featherless created this revision.Mon, Mar 20, 2:57 PM
chuga accepted this revision.Mon, Mar 20, 3:17 PM
chuga added a subscriber: chuga.
chuga added inline comments.
src/reactivetypes/ReactiveCALayer.swift
210

hmm, do we need to go through makeAdditive if we just want to get zero?

This revision is now accepted and ready to land.Mon, Mar 20, 3:17 PM
featherless added inline comments.Mon, Mar 20, 4:44 PM
src/reactivetypes/ReactiveCALayer.swift
210

It helps simplify the upcoming logic for additive keyframe animations.

chuga added inline comments.Mon, Mar 20, 4:46 PM
src/reactivetypes/ReactiveCALayer.swift
210

oh ok

This revision was automatically updated to reflect the committed changes.