mrdoob/three.js — pull request #4181 by MJCD- (2013-12-06 03:21:23+00:00)
Title: Optional bool args added to scene constructor

Allows autoUpdate and matrixAutoUpdate to be passed in at construction time rather than requiring a separate call - this allows the full construction of the scene under one call, which is useful from within an object:

var a = { Scene: new THREE.Scene() }; a.Scene.autoUpdate = false;

.. becomes..

var a = { Scene: new THREE.Scene({autoUpdate: true}) };

.. which keeps things tidy when instantiating all graphics resources in one closure!