| 9 | /// - Alpha - a number between 0.0 and 100.0 |
| 10 | #[derive(Debug, Clone, Copy, PartialEq)] |
| 11 | pub struct Hsv { |
| 12 | pub hue: f32, |
| 13 | pub saturation: f32, |
| 14 | pub value: f32, |
| 15 | pub alpha: f32, |
| 16 | } |
| 17 | |
| 18 | impl Hsv { |
| 19 | pub fn new(hue: f32, saturation: f32, value: f32, alpha: f32) -> Self { |
no outgoing calls
no test coverage detected