dat.gui/src/dat/index.js

62 lines
1.7 KiB
JavaScript
Raw Normal View History

2015-08-15 01:28:21 +00:00
/**
* dat-gui JavaScript Controller Library
* http://code.google.com/p/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
*/
2016-09-22 22:51:47 +00:00
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;
2016-09-22 22:51:47 +00:00
2015-08-15 01:28:21 +00:00
export default {
color,
controllers,
dom,
gui,
GUI
2015-08-14 20:29:30 +00:00
};