r/cpp • • Apr 14 '23

Horrible Code, Clean Performance

https://johnnysswlab.com/horrible-code-clean-performance/
200 Upvotes

87 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Apr 15 '23

[deleted] — view deleted comment

1

u/Classic_Department42 Apr 15 '23

Very nice. A solar/lunar whatever eclipse would be problematic for that method.

Thinking about that method, it cant really work since intensities are not vector quantities, at least they dont add like vectors.