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 - AkidSe

Pages: [1]
1
General / Cursor collision on rectangle after View transform
« on: March 18, 2017, 12:39:01 pm »
Hello, I got problem with cursor collission with rectangle(for example) after transform sf::View.
Here is code: http://take.ms/oHate
How it works: http://take.ms/A5efL (when mouse collide with rectangle, rectangle's fillColor changes)
And what happens after setRotation(20) to sf::View: http://take.ms/5Wphh
As you see it doesn't work correct.
How to solve this problem?

Pages: [1]
anything