lua.wetgenes.gamecake.zone.scene.values.twrap
value=values:twrap(key,nmax,tween)
Tween wrap between the current value and the previous value.
Result will be in rang of 0>= n <nmax , blended in the shortest direction.
nmax may be a number or a tardis value for nmax per dimension
A tween of 0 gets the previous value, a tween of 1 gets the current value and any other tween will get a mix between the two if that is possible.
We can only mix numbers or tardis values, other values will round to
either 0 or 1 whichever is closest and then get that whole value.