Minor fixes on tutorial 6

pull/149/head
Hiroaki Yutani 4 years ago committed by GitHub
parent bb66d9595c
commit 0da538190a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -241,7 +241,7 @@ uniform Uniforms {
}; };
void main() { void main() {
v_tex_coords = a_tex_coords; // UPDATED! v_tex_coords = a_tex_coords;
gl_Position = u_view_proj * vec4(a_position, 1.0); // 3. gl_Position = u_view_proj * vec4(a_position, 1.0); // 3.
} }
``` ```
@ -357,7 +357,6 @@ impl CameraController {
} }
} }
} }
}
``` ```
This code is not perfect. The camera slowly moves back when you rotate it. It works for our purposes though. Feel free to improve it! This code is not perfect. The camera slowly moves back when you rotate it. It works for our purposes though. Feel free to improve it!

Loading…
Cancel
Save