d3-ease c++
-
minor/optional: Implement js-like implicit values coercion:
- value from string (line
d3_ease::easePolyIn<double>{}(".9")
) - value from lambda (like
d3_ease::easeLinear({valueOf: [] { return 0.9; }})
)
- value from string (line
-
strict function aliases (currently used wrappers)
-
Add descriptive comments from DefinitelyTyped/d3-ease
-
possibly better/easier
poly
/back
/elastic
usage (more like funcs, not like callables)- reduce unnecessary explicit type specification:
d3_ease::easePolyIn<double>::exponent(2.5)(0.0)
- currentd3_ease::easePolyIn::exponent(2.5)(0.0)
- wanted (exponent(2.5)
called withdouble
type)
- reduce unnecessary explicit type specification:
In your *.pro
file add:
include(<path/to>/d3-ease-cpp/src/d3_ease.pri)