The Skung Rockification of Ziggy Skungdust and the SIMD's
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user