dat.gui/src/dat/index.js
2020-04-03 22:34:41 -07:00

62 lines
1.7 KiB
JavaScript

/**
* dat-gui JavaScript Controller Library
* https://github.com/dataarts/dat.gui
*
* Copyright 2011 Data Arts Team, Google Creative Lab
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
import Color from './color/Color';
import math from './color/math';
import interpret from './color/interpret';
import Controller from './controllers/Controller';
import BooleanController from './controllers/BooleanController';
import OptionController from './controllers/OptionController';
import StringController from './controllers/StringController';
import NumberController from './controllers/NumberController';
import NumberControllerBox from './controllers/NumberControllerBox';
import NumberControllerSlider from './controllers/NumberControllerSlider';
import FunctionController from './controllers/FunctionController';
import ColorController from './controllers/ColorController';
import domImport from './dom/dom';
import GUIImport from './gui/GUI';
export const color = {
Color: Color,
math: math,
interpret: interpret
};
export const controllers = {
Controller: Controller,
BooleanController: BooleanController,
OptionController: OptionController,
StringController: StringController,
NumberController: NumberController,
NumberControllerBox: NumberControllerBox,
NumberControllerSlider: NumberControllerSlider,
FunctionController: FunctionController,
ColorController: ColorController
};
export const dom = { dom: domImport };
export const gui = { GUI: GUIImport };
export const GUI = GUIImport;
export default {
color,
controllers,
dom,
gui,
GUI
};