Clean up WebGL provides

This commit is contained in:
Tim Schaub
2016-08-06 14:28:50 -06:00
parent 1b8310a6fe
commit 12e81e5487
18 changed files with 474 additions and 484 deletions

25
src/ol/webgl/vertex.js Normal file
View File

@@ -0,0 +1,25 @@
goog.provide('ol.webgl.Vertex');
goog.require('ol');
goog.require('ol.webgl');
goog.require('ol.webgl.Shader');
/**
* @constructor
* @extends {ol.webgl.Shader}
* @param {string} source Source.
* @struct
*/
ol.webgl.Vertex = function(source) {
ol.webgl.Shader.call(this, source);
};
ol.inherits(ol.webgl.Vertex, ol.webgl.Shader);
/**
* @inheritDoc
*/
ol.webgl.Vertex.prototype.getType = function() {
return ol.webgl.VERTEX_SHADER;
};