Make classes in ol/ available as named exports from ol
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
/**
|
||||
* @module ol/webgl/Context
|
||||
*/
|
||||
import {WEBGL_EXTENSIONS, getUid, inherits} from '../index.js';
|
||||
import {getUid, inherits} from '../util.js';
|
||||
import {EXTENSIONS as WEBGL_EXTENSIONS} from '../webgl.js';
|
||||
import Disposable from '../Disposable.js';
|
||||
import {includes} from '../array.js';
|
||||
import {listen, unlistenAll} from '../events.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/webgl/Fragment
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import {FRAGMENT_SHADER} from '../webgl.js';
|
||||
import WebGLShader from '../webgl/Shader.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @module ol/webgl/Vertex
|
||||
*/
|
||||
import {inherits} from '../index.js';
|
||||
import {inherits} from '../util.js';
|
||||
import {VERTEX_SHADER} from '../webgl.js';
|
||||
import WebGLShader from '../webgl/Shader.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit.
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../webgl.js';
|
||||
import WebGLFragment from '../../../webgl/Fragment.js';
|
||||
import WebGLVertex from '../../../webgl/Vertex.js';
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// This file is automatically generated, do not edit
|
||||
// Run `make shaders` to generate, and commit the result.
|
||||
|
||||
import {DEBUG_WEBGL} from '../../../../index.js';
|
||||
import {DEBUG as DEBUG_WEBGL} from '../../../../webgl.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
Reference in New Issue
Block a user