Closed Robadob closed 10 months ago
This has behaviour similar to Python's range(), more appropriate than lerp in many cases with integers.
Providing this will hopefully help people avoid using lerp wrongly for integers.
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/175
alt possible names:
setPropertyUniformStep()
setPropertyInterval()
setPropertyUniformInterval()
setPropertyRange()
range()
I've ran both tests Windows.
This has behaviour similar to Python's range(), more appropriate than lerp in many cases with integers.
Providing this will hopefully help people avoid using lerp wrongly for integers.
https://github.com/FLAMEGPU/FLAMEGPU2-docs/pull/175
alt possible names:
setPropertyUniformStep()
setPropertyInterval()
setPropertyUniformInterval()
setPropertyRange()
(reminds me of Python'srange()
although it's not 1-1 as the length is predefined).