Need help with C# function to translate smoothly between numeric ranges
- by Shachar Weis
I'm trying to write a function :
Input:
Source range, Source value, output range, curve type (Linear, smooth)
Output:
The output is the "source value" converted into the "output range"
according to the curve type.
I hope I am making sense here...
Any ideas ?
Thanks.