/* * Copyright 2013-2019, kaj dijkstra , * Author, Kaj Dijkstra. * All rights reserved. * */ import entity from './entity.js'; /** * Scene Node **/ class scene{ rootEntity; entitys = []; /** * add entity to scene * @param {(entity)} entity **/ addEntity(entity){ this.entitys.push(entity); } getLights(){ var lightEntitys = []; for(var c = 0; c