Tags: hyokosdeveloper/three.js
Tags
Reverting to Object.prototype = { pattern. Only using it on the metho…
…ds 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
ColladaLoader: Removed positions scaled as suggested in mrdoob#3106.
PreviousNext