You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(y down in svg) and I try to do the same thing in lyon:
let lyon_segment = CubicBezierSegment {
from: Point::new(0.0, 0.0),
ctrl1: Point::new(0.0, 0.0),
ctrl2: Point::new(50.0, 100.0),
to: Point::new(100.0, 0.0),
};
for t in 0..=100 {
let t = t as f32 / 100.0;
let y = lyon_segment.sample(t).y;
println!("t: {:?} -> {:?}", t, y);
}
I get this: (y up)
what am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm probably just doing something wrong, but if I make a SVG like this:
(y down in svg) and I try to do the same thing in lyon:
I get this: (y up)
what am I doing wrong?
The text was updated successfully, but these errors were encountered: