View Single Post
Old 9th May 2018, 17:57   #206  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 10th May 2018 at 09:25.
StainlessS is offline   Reply With Quote