所以这是我用 Javascript 编写的一些代码:
var panRate = 120; //Max speed of the camera
var panAccelerate = 0.01; //Amount speed increases each frame
var panDecelerate = 1.05; //Amount speed is divided by each frame
那是犹太洁食吗,将注释与代码放在同一行?Firefox 和 Chrome 似乎没有任何问题,但这有可能破坏某些浏览器吗?