typo
This commit is contained in:
@@ -25,7 +25,7 @@ bool Cylinder::checkCap(Ray r, double t)
|
|||||||
|
|
||||||
void Cylinder::intersectCaps(Ray r, Intersect &xs)
|
void Cylinder::intersectCaps(Ray r, Intersect &xs)
|
||||||
{
|
{
|
||||||
/* Caps only mattter is the cylinder is closed, and might possibly be
|
/* Caps only matter if the cylinder is closed, and might possibly be
|
||||||
* intersected by the ray
|
* intersected by the ray
|
||||||
*/
|
*/
|
||||||
if ((this->isClosed) && (fabs(r.direction.y) > getEpsilon()))
|
if ((this->isClosed) && (fabs(r.direction.y) > getEpsilon()))
|
||||||
|
|||||||
Reference in New Issue
Block a user