Use named exports from ol/index.js
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @module ol/renderer/webgl/tilelayershader/Locations
|
||||
*/
|
||||
// This file is automatically generated, do not edit
|
||||
import _ol_ from '../../../index.js';
|
||||
import {DEBUG_WEBGL} from '../../../index.js';
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
@@ -16,25 +16,25 @@ var _ol_renderer_webgl_tilelayershader_Locations_ = function(gl, program) {
|
||||
* @type {WebGLUniformLocation}
|
||||
*/
|
||||
this.u_tileOffset = gl.getUniformLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? 'u_tileOffset' : 'd');
|
||||
program, DEBUG_WEBGL ? 'u_tileOffset' : 'd');
|
||||
|
||||
/**
|
||||
* @type {WebGLUniformLocation}
|
||||
*/
|
||||
this.u_texture = gl.getUniformLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? 'u_texture' : 'e');
|
||||
program, DEBUG_WEBGL ? 'u_texture' : 'e');
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
this.a_position = gl.getAttribLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? 'a_position' : 'b');
|
||||
program, DEBUG_WEBGL ? 'a_position' : 'b');
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
*/
|
||||
this.a_texCoord = gl.getAttribLocation(
|
||||
program, _ol_.DEBUG_WEBGL ? 'a_texCoord' : 'c');
|
||||
program, DEBUG_WEBGL ? 'a_texCoord' : 'c');
|
||||
};
|
||||
|
||||
export default _ol_renderer_webgl_tilelayershader_Locations_;
|
||||
|
||||
Reference in New Issue
Block a user