2012-10-29 51 views
4

我一直在使用sim.js代碼及其對象作爲簡單的WebGL項目。當我需要使用frustum班(請參閱this question)時,我必須更新我的three.js。有一件事打破了:錯誤:ray.intersectScene不是函數

TypeError: ray.intersectScene is not a function     sim.js(line 357) 
    var intersects = ray.intersectScene(this.scene); 

我檢查了對Git的源代碼,而且功能不ray.js存在。我如何更新此代碼?

回答