cykod / Quintus

HTML5 Game Engine
http://html5quintus.com
GNU General Public License v2.0
1.41k stars 401 forks source link

Q.Container.fit() now updates the points. #126

Closed rohitj closed 10 years ago

rohitj commented 10 years ago

Q.Container.fit() updates p.w, p.h, p.cx, and p.cy of the sprite. This was not reflected in the points (as generated using _generatePoints() and _generateCollisionPoints(). fit() now calls these methods to update the points.

closes #124