不要单独购买,在终章会放出静态文件,目前只是放出代码
import {CourseGui} from ‘./CourseGui_tools’;
import {Loader} from ‘./Loader’;
import {Constant} from ‘./Constant’;
exportclassGribsToFullVertexShader{
constructor(y, v) {
let s = this;
this.scene = y;
this.windDatas = [];
this.gradient = [];
this.time = 0;
this.increment = 0;
this.life = 0;
this.interval = 0;
this.shaderOk = false;
this.isplaying = false;
this.arrowVertices = [];
this.cloudVertices = [];
this.geometryScaleValue = 0.01;
this.strideOnX = 1;
BabylonJS + Vue 构建 风场场景 (十六) - 小专栏