[kbreakout] [Bug 328812] Ball reverses direction on bounce.

2016-07-23 Thread Julian Helfferich via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=328812

Julian Helfferich  changed:

   What|Removed |Added

  Latest Commit|http://commits.kde.org/kbre |http://commits.kde.org/kbre
   |akout/c0d7daa0789fb8c7bf798 |akout/c685bcedba0d3c5fa5d3e
   |c2a19eab764f9205d10 |8470b1c5a1cd4e52744

--- Comment #2 from Julian Helfferich  ---
Git commit c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744 by Julian Helfferich.
Committed on 23/07/2016 at 18:45.
Pushed by helfferich into branch 'Applications/16.08'.

Fix collision detection.

When the ball intersects with two bricks after a time step, a function
was called to calculate the overlap with each of these bricks. Due to a
bug, the calculation always returned NaN and the ball always bounced off
of the second brick (independent from the overlap). This bug has now
been fixed. The bug caused the ball to frequently change direction on
a bounce. This issue is now fixed.
FIXED-IN: 16.08
REVIEW: 128472

M  +3-3src/qml/logic.js

http://commits.kde.org/kbreakout/c685bcedba0d3c5fa5d3e8470b1c5a1cd4e52744

-- 
You are receiving this mail because:
You are watching all bug changes.


[kbreakout] [Bug 328812] Ball reverses direction on bounce.

2016-07-23 Thread Julian Helfferich via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=328812

Julian Helfferich  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
  Latest Commit||http://commits.kde.org/kbre
   ||akout/c0d7daa0789fb8c7bf798
   ||c2a19eab764f9205d10
   Version Fixed In||16.08

--- Comment #1 from Julian Helfferich  ---
Git commit c0d7daa0789fb8c7bf798c2a19eab764f9205d10 by Julian Helfferich.
Committed on 23/07/2016 at 18:31.
Pushed by helfferich into branch 'master'.

Fix collision detection.

When the ball intersects with two bricks after a time step, a function
was called to calculate the overlap with each of these bricks. Due to a
bug, the calculation always returned NaN and the ball always bounced off
of the second brick (independent from the overlap). This bug has now
been fixed. The bug caused the ball to frequently change direction on
a bounce. This issue is now fixed.
FIXED-IN: 16.08
REVIEW: 128472

M  +3-3src/qml/logic.js

http://commits.kde.org/kbreakout/c0d7daa0789fb8c7bf798c2a19eab764f9205d10

-- 
You are receiving this mail because:
You are watching all bug changes.