The Skung Rockification of Ziggy Skungdust and the SIMD's

This commit is contained in:
2024-05-13 01:11:03 +10:00
parent b62cd056b5
commit 6c44476062
40 changed files with 2066 additions and 386 deletions

View File

@ -42,6 +42,11 @@ public extension Colour
a: Float((fromRgba32 >> 0) & 0xFF) / 0xFF)
}
init(grey v: Float)
{
self.init(r: v, g: v, b: v)
}
func mix(with rhs: Colour, _ amount: Float) -> Colour
{
let x = amount.saturate