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
存在。我如何更新此代碼?
你釘它,感謝:d – smuggledPancakes
感謝@West .Was與ray.intersectScene。現在嘗試它編輯後的作品 –