1.1f = 10 percent?

 
float s[3] = {1.1f, 1.1f, 1.1f}; // makes it 10% bigger in each direction 


I was reading a tutorial and it says that this is 10%. I thought 0.10f would have been 10 percent?
Last edited on
Correct, but you want 10% bigger, or 110% of the original value.
Thanks man.
Topic archived. No new replies allowed.