Fix CMRay constructor issue

This commit is contained in:
Jack Andersen 2018-10-18 09:44:02 -10:00
parent 20603da60d
commit 88769bded0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ struct CMRay
: start(start), length(len), invLength(1.f / len), dir(dirin) : start(start), length(len), invLength(1.f / len), dir(dirin)
{ {
end = start + (len * dirin); end = start + (len * dirin);
delta = dirin - start; delta = end - start;
} }
CMRay(const CVector3f& start, const CVector3f& end, float len, float invLen) CMRay(const CVector3f& start, const CVector3f& end, float len, float invLen)