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.
} }
``` ```
@ -356,7 +356,6 @@ impl CameraController {
camera.eye = camera.target - (forward - right * self.speed).normalize() * forward_mag; camera.eye = camera.target - (forward - right * self.speed).normalize() * forward_mag;
} }
} }
}
} }
``` ```

Loading…
Cancel
Save