在终章会放出静态文件,目前只是放出代码
import {CameraLight} from ‘./CameraLight’;
import {Compute} from ‘./Compute’;
import {OutLine} from ‘./OutLine’;
import {TweetPanel} from ‘./TweetPanel’;
import {Poly} from ‘./Poly’;
exportclassUserEvent{
constructor(y, bm) {
let s = this;
this.scene = y;
this.environment = CameraLight.getInstance(y);
this.scene.onPointerDown = function (bi, f) {
return s.pointerDown(bi, f)
};
this.scene.onPointerUp = function (bi, f) {
return s.pointerUp(bi, f)
};
BabylonJS + Vue 构建 风场场景 (十二) - 小专栏