Function webrender::ellipse::get_simpson_length

source ยท
fn get_simpson_length(theta: f32, rx: f32, ry: f32) -> f32
Expand description

Use Simpsons rule to approximate the arc length of part of an ellipse. Note that this only works over the range of [0, pi/2].