Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Feb 26, 2022
1 parent 8947dc1 commit ef4de65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_render/src/camera/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ impl Camera {
None
}
}
/// Given a position in world space, use the camera to compute the screen space coordinates.

/// Given a position in world space, use the camera to compute the normalized device coordinates.
pub fn world_to_ndc(
&self,
camera_transform: &GlobalTransform,
Expand Down

0 comments on commit ef4de65

Please sign in to comment.