Skip to content

Commit

Permalink
Remove incorrect requirement from Ray::new doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralith authored and sebcrozet committed Dec 31, 2021
1 parent d913a2f commit f996d64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/query/ray/ray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ pub struct Ray {
}

impl Ray {
/// Creates a new ray starting from `origin` and with the direction `dir`. `dir` must be
/// normalized.
/// Creates a new ray starting from `origin` and with the direction `dir`.
pub fn new(origin: Point<Real>, dir: Vector<Real>) -> Ray {
Ray { origin, dir }
}
Expand Down

0 comments on commit f996d64

Please sign in to comment.