logo
pub fn line_for_angle(angle: f32) -> (Point2D<f32>, Point2D<f32>)
Expand description

Returns the start / end points of a gradient within the [-0.5; 0.5] unit square, based on the angle (in degree).