Hello,
I am currently reading a book called SFML Game Development. (pg. 76) (talks about view bounds)
When they talk about initializing the world, of course, as a rectangle upper-left lies at (0, 0). How come getting the top + height gets you the bottom right corner and height doesn't just return it? If I 'cout' the height, it is the dimension of the image, so I'm lost.
I came across this and I thought about collision detection, where you add left+width or top+height during bounds checking. Can anyone explain this further, I'd like to understand it better?
Thanks!