RadiantKit-iOS
Usage
import RadiantKit
/// Convert the value 0.5 from the range 0..1 to the range 0..100,
/// so this should result in a value around `50`.
let a: Float = RKMath.remap(0.5, 0, 1, 0, 100)
/// Convert the value 50 from the range 0..100 to the range 0..1,
/// so this should result in a value around `0.5`.
let b: Float = RKMath.remap(50, 0, 100, 0, 1)