Ray parameterization takes a Double
This commit is contained in:
parent
b1d18a124f
commit
6f4d91af01
2 changed files with 2 additions and 2 deletions
|
@ -299,7 +299,7 @@ Ray::Ray(Vector3 o, Vector3 d)
|
|||
* Compute and return the point given by parameterizing this Ray by time t.
|
||||
*/
|
||||
Vector3
|
||||
Ray::parameterize(const float t)
|
||||
Ray::parameterize(const Double& t)
|
||||
const
|
||||
{
|
||||
return origin + t * direction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue