Skip to content

Commit

Permalink
Fix comment grammar (bevyengine#9990)
Browse files Browse the repository at this point in the history
  • Loading branch information
JMS55 authored and regnarock committed Oct 13, 2023
1 parent 8bde3a0 commit 99c0a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_core_pipeline/src/skybox/skybox.wgsl
Expand Up @@ -7,7 +7,7 @@

fn coords_to_ray_direction(position: vec2<f32>, viewport: vec4<f32>) -> vec3<f32> {
// Using world positions of the fragment and camera to calculate a ray direction
// break down at large translations. This code only needs to know the ray direction.
// breaks down at large translations. This code only needs to know the ray direction.
// The ray direction is along the direction from the camera to the fragment position.
// In view space, the camera is at the origin, so the view space ray direction is
// along the direction of the fragment position - (0,0,0) which is just the
Expand Down

0 comments on commit 99c0a37

Please sign in to comment.