Simplified HemisphereLightHelper.
Updated builds.
Removed Color.setHSV.
Updated builds.
Fixed recent JSONLoader minor breakage.
Simplified SpotlightHelper.
Updated builds.
Cleaned up warnings.
Fixed SceneLoader minor breakage.
Updated builds.
Simplified webgl voxel editor example.
Fixed molecules example still relying in object.properties.
Cleaned up tests.
r57
Reverting to Object.prototype = { pattern. Only using it on the methods that really need it.
Misteriously when using the latest version of the lib on the project I'm working on I'm getting this error:
> Uncaught TypeError: Object [object Object] has no method 'set'
This is caused when THREE.UniformsLib.common.diffuse initialises a THREE.Color (THREE.Color.set() seems to be undefined then).
For some reason this only happens when I load Box2D before three.js. If I load it after is all good. But this fixes the problem too.
/ping @bhouston
improve npm header for browser + nodejs compatibility.
use new Date().getTime() when not in a node.js environment.
Deprecated Matrix4 rotateX(), rotateY(), rotateZ and rotateByAxis() as per #3185.
Merge remote-tracking branch 'bhouston/window-performance-fix' into dev
Spelling and grammar fixes.