Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - montez

Pages: [1]
1
Graphics / Re: Rectangle intersection returning a weird value
« on: January 12, 2016, 09:22:12 pm »
True... I was using "position/size" for the logical coordinates and "position/position" for drawing coordinates, so it was showing correctly, but logicaly it was wrong.

Thanks for poiting that out and sorry for the trouble.

2
Graphics / Rectangle intersection returning a weird value
« on: January 12, 2016, 07:42:20 pm »
Hi, I'm using sfml for a while in personal game projects, and I'm stuck with the intersection method from Rect<T>.
The rectangles :
sf::IntRect(sf::Vector2i(7, 7), sf::Vector2i(11, 11));
sf::IntRect(sf::Vector2i(10, 14), sf::Vector2i(16, 22));

for some reason they're intersecting each other. I may be wrong, but it shouldn't happen.

Thanks for your help!

Pages: [1]
anything