mrdoob/three.js — pull request #4574 by WestLangley (2014-03-13 19:47:33+00:00)
Title: Simplified Device Orientation Controls

The primary issue was that the scene needed to be rotated 90 degrees in order for the rendering to be correct. The second issue was it was not working correctly on the iPhone.

This PR will have to be tested on other devices.

Also, there is some unrelated iPhone / `CanvasRenderer` issue. I had to temporarily remove the texture and replace it with wireframe. I also had to hardwire `devicePixelRatio` to one.

ping @richtr