Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
cc57273
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc57273
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one: https://code.google.com/p/box2dweb/downloads/detail?name=Box2dWeb-2.1a.3.zip