I have been using the sim.js code and its objects for a simple WebGL project. When I needed to use the frustum class (see this question) I had to update my three.js. One thing broke:
TypeError: ray.intersectScene is not a function sim.js(line 357)
var intersects = ray.intersectScene( this.scene );
I checked out the source code on git, and that function does not exist in ray.js. How can I update this code?
See the three.js Wiki on Migrating: https://github.com/mrdoob/three.js/wiki/Migration
Removed intersectScene from
Ray. UseRaycaster.intersectObjects( array )instead.three.js r.61