先提交一部分
This commit is contained in:
@@ -16,9 +16,6 @@ export default {
|
||||
const {$waitFor, THREE, $loadScript} = window
|
||||
return $waitFor(THREE).then(() => Promise.all([
|
||||
`http://10.0.97.209/presource/datascreen/js/three/js/controls/OrbitControls.js`,
|
||||
// `http://10.0.97.209/presource/datascreen/js/three/js/utils/BufferGeometryUtils.js`,
|
||||
`http://10.0.97.209/presource/datascreen/js/three/js/QuickHull.js`,
|
||||
`http://10.0.97.209/presource/datascreen/js/three/js/geometries/ConvexGeometry.js`,
|
||||
].map(e => $loadScript('js', e))))
|
||||
},
|
||||
initMap() {
|
||||
@@ -29,7 +26,7 @@ export default {
|
||||
|
||||
class GeoMap {
|
||||
constructor() {
|
||||
this.cameraPosition = {x: 16, y: 0, z: 80}; // 相机位置
|
||||
this.cameraPosition = {x: 40, y: 0, z: 40}; // 相机位置
|
||||
this.scene = null; // 场景
|
||||
this.camera = null; // 相机
|
||||
this.renderer = null; // 渲染器
|
||||
|
||||
Reference in New Issue
Block a user