UserSyncFrontend / node_modules /@plotly /mapbox-gl /src /shaders /heatmap_texture.vertex.glsl
Leon4gr45's picture
Upload folder using huggingface_hub (part 8)
e7b2eb4 verified
Raw
History Blame Contribute Delete
215 Bytes
uniform mat4 u_matrix;
uniform vec2 u_world;
attribute vec2 a_pos;
varying vec2 v_pos;
void main() {
gl_Position = u_matrix * vec4(a_pos * u_world, 0, 1);
v_pos.x = a_pos.x;
v_pos.y = 1.0 - a_pos.y;
}