diff --git a/include/zeus/CMRay.hpp b/include/zeus/CMRay.hpp index faf1ffc..1df2aba 100644 --- a/include/zeus/CMRay.hpp +++ b/include/zeus/CMRay.hpp @@ -8,7 +8,7 @@ namespace zeus { struct CMRay { - CMRay(const CVector3f& start, const CVector3f& end, float d) : start(start), end(end), d(d), invD(1.f / d) + CMRay(const CVector3f& start, const CVector3f& end, float d) : start(start), d(d), invD(1.f / d), end(end) { normal = start + (d * end); delta = normal - start; @@ -26,12 +26,12 @@ struct CMRay return CMRay(inv * start, inv * normal, d, invD); } - CVector3f start; - CVector3f normal; - CVector3f delta; - float d; - float invD; - CVector3f end; + CVector3f start; // x0 + CVector3f normal; // xc + CVector3f delta; // x18 + float d; // x24 + float invD; // x28 + CVector3f end; // x2c }; }