More timing functions
This commit is contained in:
parent
6331a2bf79
commit
321c677da2
12 changed files with 184 additions and 129 deletions
2
ray.hpp
2
ray.hpp
|
|
@ -24,7 +24,7 @@ struct ray {
|
|||
}
|
||||
|
||||
// Returns position after time t
|
||||
point3 at(double t) const
|
||||
point3 at(float t) const
|
||||
{
|
||||
return origin + t*direction;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue