|
![](/i/fill.gif) |
.. but can't figure it out at the moment.
I'm looking for a macro that returns a value based on an input value
(Val) within a given input range (iMin to iMax), the ReturnVal has to
be in the range oMin, oMax.
Kind of like the "how to create random numbers in a range other than 0
to 1". But then with a arbitrary input range.
#macro RVal(iMin, iMax, Val, oMin, oMax)
.
.
ReturnVal
#end
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
![](/i/fill.gif) |