hopf fibration visualization - add arbitrary animations

This commit is contained in:
2019-01-11 01:35:43 -05:00
parent 83d0ce5ef3
commit d98a596a7b
2 changed files with 114 additions and 38 deletions

View File

@@ -12,5 +12,5 @@ out vec4 pos;
void main() {
pos = model * pos4;
gl_Position = proj * view * vec4(pos.xyz, -pos.w + 2);
gl_Position = proj * view * vec4(pos.xyz, 1);
}