From 083a5b600f7d08afb63128e0570f3d00166c85de Mon Sep 17 00:00:00 2001 From: Godzil Date: Wed, 11 Mar 2020 16:54:46 +0000 Subject: [PATCH] typo --- source/shapes/cylinder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))