# | Line 8 | Line 8 | static const char RCSid[] = "$Id$"; | |
---|---|---|
8 | #include "copyright.h" | |
9 | ||
10 | #include "ray.h" | |
11 | – | |
11 | #include "otypes.h" | |
12 | + | #include "rtotypes.h" |
13 | ||
14 | ||
15 | < | o_sphere(so, r) /* compute intersection with sphere */ |
16 | < | OBJREC *so; |
17 | < | register RAY *r; |
15 | > | extern int |
16 | > | o_sphere( /* compute intersection with sphere */ |
17 | > | OBJREC *so, |
18 | > | register RAY *r |
19 | > | ) |
20 | { | |
21 | double a, b, c; /* coefficients for quadratic equation */ | |
22 | double root[2]; /* quadratic roots */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |