This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
v1.3.0
This minor releases introduces new APIs for defining motion curves.
New deprecations
MDMMotionCurveTypeDefault
is now deprecated. Use MDMMotionCurveTypeBezier
instead.
New features
The new MDMLinearMotionCurve
macro allows you to define linear easing curves in specs.
Spring curve specs can now define initial velocity. This value can be read using the new
MDMSpringMotionCurveDataIndexInitialVelocity
enum value for MDMSpringMotionCurveDataIndex
.
Source changes
- Document and define the initial velocity parameter of spring curves (#17) (featherless)
- Add a linear curve constant. (#16) (featherless)
- Deprecate MDMMotionCurveTypeDefault in favor of MDMMotionCurveTypeBezier. (#15) (featherless)
API changes
MDMSpringMotionCurveDataIndexInitialVelocity
new enum: MDMSpringMotionCurveDataIndexInitialVelocity
.
MDMLinearMotionCurve
new constant/macro: MDMLinearMotionCurve
.