Browse Source

improve Rain

tags/3.0.1
Caven Chen 2 years ago
parent
commit
664f276ccf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/modules/weather/type/Rain.js

+ 2
- 2
src/modules/weather/type/Rain.js View File

@@ -8,9 +8,9 @@ import { Util } from '../../utils'
import RainShader from '../../material/shader/weather/RainShader.glsl'

class Rain {
constructor() {
constructor(viewer) {
this._id = Util.uuid()
this._viewer = undefined
this._viewer = viewer
this._delegate = undefined
this._enable = false
this._speed = 10.0

Loading…
Cancel
Save