摘要:
首先,你要引入three.js 插件,这里默认你已经安装好了该插件 three.js 使用时必要的模块有:渲染器,相机,光源,场景,以及你要的加载模型 在vue页面中引入 import * as THREE from "three"; import { DRACOLoader } from "thr 阅读全文
摘要:
原型prototype function Person() {} Person.prototype.a = 123; var per = new Person(); // console.log(per.prototype); // console.log(per.__proto__ == Pers 阅读全文