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

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