里面的demo是根据博主暮志未晚的博客实现的,有部分改动, 他的博文中有详细解释,传送门,欢迎大家去学习
threejs-learning
├── helloworld /*暮志未晚示例*/
│ ├── .idea
│ ├── asserts /*静态文件*/
│ │ └── images /*图片*/
│ ├── demo /*demo文件(webstorm直接运行即可看到效果)*/
│ │ └── demo1.html
│ └── lib /*插件/库*/
│ ├── Detector.js /*检测兼容性插件*/
│ ├── OrbitControls.js /*用户交互插件*/
│ ├── stats.min.js /*性能监听插件*/
│ ├── three.js /*threejs库*/
│ └── TrackballControls.js /*用户交互插件*/
└── README.md