Added EventTarget to TrackballControls. Fixes #1189.
Now we can do things like this: controls = new THREE.TrackballControls( camera ); controls.addEventListener( 'update', render ); Sadly, some examples are slightly broken until we have better pipeline for assets load complete event dispatching.
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
src/extras/core/EventTarget.js
0 → 100644
想要评论请 注册 或 登录