diff --git a/source/shapes/cylinder.cpp b/source/shapes/cylinder.cpp index e41f879..3676072 100644 --- a/source/shapes/cylinder.cpp +++ b/source/shapes/cylinder.cpp @@ -25,7 +25,7 @@ bool Cylinder::checkCap(Ray r, double t) 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 */ if ((this->isClosed) && (fabs(r.direction.y) > getEpsilon()))