Use named exports from ol/index.js

This commit is contained in:
Tim Schaub
2017-12-12 10:24:58 -07:00
parent fce644556b
commit 87295a74dd
250 changed files with 874 additions and 887 deletions

View File

@@ -2,7 +2,7 @@
* @module ol/render/webgl/texturereplay/defaultshader/Locations
*/
// This file is automatically generated, do not edit
import _ol_ from '../../../../index.js';
import {DEBUG_WEBGL} from '../../../../index.js';
/**
* @constructor
@@ -16,61 +16,61 @@ var _ol_render_webgl_texturereplay_defaultshader_Locations_ = function(gl, progr
* @type {WebGLUniformLocation}
*/
this.u_projectionMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_projectionMatrix' : 'h');
program, DEBUG_WEBGL ? 'u_projectionMatrix' : 'h');
/**
* @type {WebGLUniformLocation}
*/
this.u_offsetScaleMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_offsetScaleMatrix' : 'i');
program, DEBUG_WEBGL ? 'u_offsetScaleMatrix' : 'i');
/**
* @type {WebGLUniformLocation}
*/
this.u_offsetRotateMatrix = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_offsetRotateMatrix' : 'j');
program, DEBUG_WEBGL ? 'u_offsetRotateMatrix' : 'j');
/**
* @type {WebGLUniformLocation}
*/
this.u_opacity = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_opacity' : 'k');
program, DEBUG_WEBGL ? 'u_opacity' : 'k');
/**
* @type {WebGLUniformLocation}
*/
this.u_image = gl.getUniformLocation(
program, _ol_.DEBUG_WEBGL ? 'u_image' : 'l');
program, DEBUG_WEBGL ? 'u_image' : 'l');
/**
* @type {number}
*/
this.a_position = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_position' : 'c');
program, DEBUG_WEBGL ? 'a_position' : 'c');
/**
* @type {number}
*/
this.a_texCoord = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_texCoord' : 'd');
program, DEBUG_WEBGL ? 'a_texCoord' : 'd');
/**
* @type {number}
*/
this.a_offsets = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_offsets' : 'e');
program, DEBUG_WEBGL ? 'a_offsets' : 'e');
/**
* @type {number}
*/
this.a_opacity = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_opacity' : 'f');
program, DEBUG_WEBGL ? 'a_opacity' : 'f');
/**
* @type {number}
*/
this.a_rotateWithView = gl.getAttribLocation(
program, _ol_.DEBUG_WEBGL ? 'a_rotateWithView' : 'g');
program, DEBUG_WEBGL ? 'a_rotateWithView' : 'g');
};
export default _ol_render_webgl_texturereplay_defaultshader_Locations_;