fix build

This commit is contained in:
Evert Prants 2021-09-10 22:13:07 +03:00
parent 968c6ff3ad
commit 695df3c138
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -4,7 +4,7 @@ import loadMesh from './engine/mesh/loader'
import { randomInt } from './engine/utility'
import { Environment } from './engine/environment'
import { Environment, Light } from './engine/environment'
import { LODTerrain } from './engine/components/terrain/lod'
import { MeshInstance } from './engine/components'
import { Skybox } from './engine/components/skybox'
@ -20,7 +20,7 @@ import { CubePlanet, PlanetGenerator, PlanetIndexBuffers } from './engine/compon
import Atmosphere from './engine/components/planet/atmosphere'
const game = Engine
const env = new Environment()
const env = new Environment([0.1, 0.1, 0.1], new Light([0.0, 10000.0, -20000.0], [1.0, 1.0, 1.0]))
const gui = new GUIRenderer()
const fnt = new FontRenderer()
const prt = new ParticleRenderer()