UNPKG

439 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: !0 });
3var $defaultVertex = `attribute vec2 aVertexPosition;
4attribute vec2 aTextureCoord;
5
6uniform mat3 projectionMatrix;
7
8varying vec2 vTextureCoord;
9
10void main(void)
11{
12 gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);
13 vTextureCoord = aTextureCoord;
14}`;
15exports.default = $defaultVertex;
16//# sourceMappingURL=default.vert.js.map