我无法让 loader.load 工作!我这样称呼它:
// loader
var loader = new THREE.JSONLoader(),
callbackModel = function( geometry ) {
createScene( geometry, 90, FLOOR, -50, 105 )
}
loader.load( 'oakley/step3.js', callbackModel );
我要么得到
Object # < Object > does not have a definition for 'split', (uncaught TypeError)
最近,在更改为 Firefox 后,我得到了
TypeError: zmesh is undefined.
step3.js:1 is malformed (haven't touched it)
和
TypeError: a is undefined in three.min.js:347
和
TypeError: ma is undefined in three.min.js:429.
我一直在关注教程。事实上多个。尽管如此,我无法让它工作..