Skip to content

Commit 274ac40

Browse files
committed
🏥 ray class reference value
1 parent 75d78c6 commit 274ac40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ray.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl Ray {
1313
}
1414
}
1515

16-
pub fn point_at_parameter(self, t: f64) -> Vec3D {
16+
pub fn point_at_parameter(&self, t: f64) -> Vec3D {
1717
self.origin + self.direction * t
1818
}
1919
}

0 commit comments

Comments
 (0)