Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. pub struct Ray {
  2. pub origin: Point,
  3. pub direction: Vector3,
  4. }
  5.  
  6. impl Ray {
  7. pub fn create_prime(x: u32, y: u32, scene: &Scene) -> Ray {
  8. Ray {
  9. origin: Point::zero(),
  10. direction: Vector3::zero(),
  11. }
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement