BabylonJS/Babylon.js — pull request #59 by gwenael-hagenmuller (2013-09-16 11:44:55+00:00)
Title: Fixed operators priority issue

Not sure of what you expect if window.devicePixelRatio is undefined, null or 0 but I guess in this case _hardwareScalingLevel should be 1.0, that's why I added brackets.

Here are the tests: http://jsfiddle.net/gwenaelhagenmuller/27Y5T/