// Copyright (c) 2015 - 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. /* eslint-disable max-len */ // Intialize globals, extract version export { VERSION } from "./lib/init.js"; // Import shaderlib to make sure shader modules are initialized export { getShaderAssembler } from "./shaderlib/index.js"; // Core Library export { COORDINATE_SYSTEM, OPERATION, UNIT } from "./lib/constants.js"; // Effects export { default as LightingEffect } from "./effects/lighting/lighting-effect.js"; export { AmbientLight } from "./effects/lighting/ambient-light.js"; export { DirectionalLight } from "./effects/lighting/directional-light.js"; export { PointLight } from "./effects/lighting/point-light.js"; export { default as _CameraLight } from "./effects/lighting/camera-light.js"; export { default as _SunLight } from "./effects/lighting/sun-light.js"; export { default as PostProcessEffect } from "./effects/post-process-effect.js"; // Passes export { default as _LayersPass } from "./passes/layers-pass.js"; export { default as _PickLayersPass } from "./passes/pick-layers-pass.js"; // Experimental Pure JS (non-React) bindings export { default as Deck } from "./lib/deck.js"; export { default as LayerManager } from "./lib/layer-manager.js"; export { default as Attribute } from "./lib/attribute/attribute.js"; export { default as AttributeManager } from "./lib/attribute/attribute-manager.js"; export { default as Layer } from "./lib/layer.js"; export { default as CompositeLayer } from "./lib/composite-layer.js"; export { default as DeckRenderer } from "./lib/deck-renderer.js"; // Viewports export { default as Viewport } from "./viewports/viewport.js"; export { default as WebMercatorViewport } from "./viewports/web-mercator-viewport.js"; export { default as _GlobeViewport } from "./viewports/globe-viewport.js"; export { default as OrbitViewport } from "./viewports/orbit-viewport.js"; export { default as OrthographicViewport } from "./viewports/orthographic-viewport.js"; export { default as FirstPersonViewport } from "./viewports/first-person-viewport.js"; // Shader modules export { picking, project, project32, gouraudLighting, phongLighting, shadow } from "./shaderlib/index.js"; export { default as View } from "./views/view.js"; export { default as MapView } from "./views/map-view.js"; export { default as FirstPersonView } from "./views/first-person-view.js"; export { default as OrbitView } from "./views/orbit-view.js"; export { default as OrthographicView } from "./views/orthographic-view.js"; export { default as _GlobeView } from "./views/globe-view.js"; // Controllers export { default as Controller } from "./controllers/controller.js"; export { default as MapController } from "./controllers/map-controller.js"; export { default as _GlobeController } from "./controllers/globe-controller.js"; export { default as FirstPersonController } from "./controllers/first-person-controller.js"; export { default as OrbitController } from "./controllers/orbit-controller.js"; export { default as OrthographicController } from "./controllers/orthographic-controller.js"; // Extensions interface export { default as LayerExtension } from "./lib/layer-extension.js"; // Transitions export { TRANSITION_EVENTS } from "./controllers/transition-manager.js"; export { default as TransitionInterpolator } from "./transitions/transition-interpolator.js"; export { default as LinearInterpolator } from "./transitions/linear-interpolator.js"; export { default as FlyToInterpolator } from "./transitions/fly-to-interpolator.js"; // Layer utilities export { default as log } from "./utils/log.js"; export { default as assert } from "./utils/assert.js"; export { createIterable } from "./utils/iterable-utils.js"; export { fp64LowPart } from "./utils/math-utils.js"; export { default as Tesselator } from "./utils/tesselator.js"; // Export? move to luma.gl or math.gl? // Experimental utilities export { fillArray as _fillArray, flatten as _flatten } from "./utils/flatten.js"; // Export? move to luma.gl or math.gl? export { count as _count } from "./utils/count.js"; export { deepEqual as _deepEqual } from "./utils/deep-equal.js"; export { default as _memoize } from "./utils/memoize.js"; export { mergeShaders as _mergeShaders } from "./utils/shader.js"; export { compareProps as _compareProps } from "./lifecycle/props.js"; // INTERNAL, DO NOT USE // @deprecated internal do not use export { default as _Component } from "./lifecycle/component.js"; // @deprecated internal do not use export { default as _ComponentState } from "./lifecycle/component-state.js";