From ee17debc7eff4af0bbfc1f28a256f2a05993b0c5 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期二, 16 四月 2024 17:19:36 +0800 Subject: [PATCH] feat:添加圆环 --- src/views/screen/components/screen-map-three/experience/world/world.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/screen/components/screen-map-three/experience/world/world.js b/src/views/screen/components/screen-map-three/experience/world/world.js index 1b2690f..5ab10f0 100644 --- a/src/views/screen/components/screen-map-three/experience/world/world.js +++ b/src/views/screen/components/screen-map-three/experience/world/world.js @@ -1,5 +1,5 @@ import EventEmitter from '../utils/eventEmitter'; - +import Enviroment from './enviroment'; import Map from './map'; export default class World extends EventEmitter { @@ -7,10 +7,11 @@ super(); this.experience = experience; this.scene = this.experience.scene; - this.Map = new Map(this.experience); + this.enviroment = new Enviroment(this.experience); + this.map = new Map(this.experience); } update() { - + this.enviroment.update(); } } \ No newline at end of file -- Gitblit v1.8.0