Closed GraionDilach closed 5 years ago
I'm not sure if the distortion calculation is correct though, since I dunno KKND. I guess you might want to tweak it further (by offsetting with a rotated vector vertical to beam direction instead of what it is now, that's open for discussion).
Should be. What was your aim with the segments though? Just found out that @forcecore already provided the necessary math to segment stuff based on a ring plane during the laser...
Which comment to what broken boolean?
No longer ignores height. Use WDist for SegmentLength. Fix LaserRenderable.OffsetBy. Recode the math behind distortion. Clarify a TODO comment. Remove unnecessary private definitions. And fix a typo.
Also, VS fixed the spaces/tabs mixup so I advise you to use ?w=1 on the diff.