- Joined
- Jul 31, 2017
- Messages
- 500
Hi there
I'm suggesting adding the two functions to cerberus.math:
LinMap : Float ( dt:Float, t0:Float, t1:Float ) - returns percentage of where about dt is in the range of t0 to t1. No clamping performed.
LinInterpolate : Float ( t0:Float, t1:Float, dt:Float ) - interpolates between t0 and t1 at dt. No clamping performed.
If there are not enough concerns mentioned to stop me from this, I will implement and document them by the end of the week or so and bother Mike with a pull request on GitHub
Cheers
I'm suggesting adding the two functions to cerberus.math:
LinMap : Float ( dt:Float, t0:Float, t1:Float ) - returns percentage of where about dt is in the range of t0 to t1. No clamping performed.
LinInterpolate : Float ( t0:Float, t1:Float, dt:Float ) - interpolates between t0 and t1 at dt. No clamping performed.
If there are not enough concerns mentioned to stop me from this, I will implement and document them by the end of the week or so and bother Mike with a pull request on GitHub
Cheers