Function sixtyfps_corelib::graphics::line_for_angle [−][src]
pub fn line_for_angle(angle: f32) -> (Point, Point)
Returns the start / end points of a gradiant within the [-0.5; 0.5] unit square, based on the angle (in degree).