Quote:
Maybe it's because I changed this ?
|
Should not really do that, if comparing with eg a RaffRiff42 example then may cause confusion as your function will act differently to his,
if 30.0 is official default, then really should keep that and use your pref as calling arg.
Quote:
So it never uses decimals ?
|
100 is an integer and so is 3, so 100/3 is 33 not 33.33333, an integer multiplied by or divided by or added to, subtracted from another integer, has an integer result. [EDIT: any fractional part discarded/truncated, NOT rounded]
An integer + a float (and all other above operations too) has a Float result. (The integer is converted to a float prior to the operation).
Above is true for many programming languages.
The difference between RaffRiff GaussResize2 and GaussResize may be down to the order of resize, Width, Height, or Height, Width.
Raffs does resize width and then resize height, think builtin resize chooses the longest side (or shortest, not sure offhand which) side first, and then the other.