/**
 * Copyright (c) 2023 Kernelsoft All rights reserved.
 * @description: 场景灯光组
 * @author: luoyi@kernelsoft.com
 * @date: 2023-06-05
 */
import * as THREE from 'three';
var LIGHT_POSITIONS = [[-10, 20, 0], [10, 20, 0], [0, -20, 0]];
var LightGroup = /*#__PURE__*/function () {
  function LightGroup() {
    var _this = this;
    this.lightGroup = void 0;
    this.lightGroup = new THREE.Group();
    LIGHT_POSITIONS.forEach(function (item) {
      var planeLight = new THREE.RectAreaLight();
      planeLight.intensity = 20;
      planeLight.position.set(item[0], item[1], item[2]);
      planeLight.lookAt(0, 0, 0);
      _this.lightGroup.add(planeLight);
    });
  }
  var _proto = LightGroup.prototype;
  _proto.getLightGroup = function getLightGroup() {
    return this.lightGroup;
  };
  return LightGroup;
}();
export { LightGroup as default };