More timing functions

This commit is contained in:
David 2021-08-28 01:04:31 +02:00
commit 321c677da2
12 changed files with 184 additions and 129 deletions

View file

@ -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;
}