(r: f32, g: f32, b: f32)
| 87 | pub const GREEN: Color = Color { r: 0.0, g: 1.0, b: 0.0, a: 1.0 }; |
| 88 | |
| 89 | pub fn rgb(r: f32, g: f32, b: f32) -> Self { |
| 90 | Self { r, g, b, a: 1.0 } |
| 91 | } |
| 92 | |
| 93 | pub fn rgba(r: f32, g: f32, b: f32, a: f32) -> Self { |
| 94 | Self { r, g, b, a } |
nothing calls this directly
no outgoing calls
no test coverage detected