Simulate thousands of n-Pendula (up to 32) with Position Based Dynamics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

11 lines
185 B

#version 330 core
layout (location = 0) in vec2 vPos;
layout (location = 1) in vec2 vTex;
out vec2 texCoord;
void main() {
gl_Position = vec4(vPos, 0, 1);
texCoord = vTex;
}