Add SwiftFormat wraparguments (#579)

Matches the wrapparameters rule, seems it was missed.
This commit is contained in:
Doug
2023-02-15 08:53:10 +00:00
committed by GitHub
parent 96363b117d
commit afc660a1ea
6 changed files with 40 additions and 55 deletions
+3 -5
View File
@@ -80,11 +80,9 @@ private func decodeAC(_ value: Int, maximumValue: Float) -> (Float, Float, Float
let quantG = (value / 19) % 19
let quantB = value % 19
let rgb = (
signPow((Float(quantR) - 9) / 9, 2) * maximumValue,
signPow((Float(quantG) - 9) / 9, 2) * maximumValue,
signPow((Float(quantB) - 9) / 9, 2) * maximumValue
)
let rgb = (signPow((Float(quantR) - 9) / 9, 2) * maximumValue,
signPow((Float(quantG) - 9) / 9, 2) * maximumValue,
signPow((Float(quantB) - 9) / 9, 2) * maximumValue)
return rgb
}