aerys / minko

3D framework for web, desktop and mobile devices.
http://minko.io
Other
905 stars 210 forks source link

possible typo in equality #123

Closed mimfgg closed 11 years ago

JMLX42 commented 11 years ago

Hello,

this is not a typo since getRectangle() can actually return null when there is no space left. Did you encounter any issue that would indicate this leads to a problem?

Regards,

mimfgg commented 11 years ago

Ah, I see.

So if getRectangle returns null the test will be false and the second branching will be run.

You can forget about this one then :) Cheers