pub fn sample_point(
animation: &AnimatedPoint,
time: MediaTime,
aspect: f64,
) -> Vec2Expand description
Samples a position that may move along spatial curves.
Between two keyframes whose facing tangents (the first’s out_tangent,
the second’s in_tangent) are both zero, the value moves in a straight
line exactly as an Animated<Vec2> does. Otherwise it travels along the
cubic Bezier through them, measured in a space aspect wide per unit
high, at the speed the timing curve sets: the curve’s eased amount is the
fraction of its length travelled. An amount past either end continues
straight on along the curve’s tangent there.