From 726fff8299c6aa41b38a0560a0a00db3b2a8de3a Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 28 Mar 2017 16:50:27 -1000 Subject: [PATCH] Add pointer comments to CMRay --- include/zeus/CMRay.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 }; }