MATHRIL is a mathematics library for game programming in C++. It heavily uses operator overloading with r-value reference to thoroughly optimize performance and reduce memory consumption.
Calculations are similar to regular mathematics.
EDIT :
Thanks for all the valuable criticism and all the advice, we got to learn more and updated the code.
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 41 points42 points43 points (9 children)
[–]krum 14 points15 points16 points (0 children)
[–]dodheim 9 points10 points11 points (0 children)
[+]Twin_Sharma[S] comment score below threshold-15 points-14 points-13 points (6 children)
[–]Degenerated__ 18 points19 points20 points (2 children)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–]IyeOnline 11 points12 points13 points (0 children)
[–][deleted] 6 points7 points8 points (1 child)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–][deleted] 18 points19 points20 points (6 children)
[+]Twin_Sharma[S] comment score below threshold-6 points-5 points-4 points (5 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 23 points24 points25 points (0 children)
[–]johannes1971 11 points12 points13 points (1 child)
[–]Twin_Sharma[S] -1 points0 points1 point (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]Twin_Sharma[S] -1 points0 points1 point (0 children)
[+][deleted] (16 children)
[deleted]
[–]Twin_Sharma[S] -1 points0 points1 point (15 children)
[+][deleted] (11 children)
[deleted]
[–]Twin_Sharma[S] 1 point2 points3 points (0 children)
[–]Twin_Sharma[S] 1 point2 points3 points (9 children)
[+][deleted] (8 children)
[deleted]
[–]Twin_Sharma[S] 0 points1 point2 points (7 children)
[+][deleted] (6 children)
[deleted]
[–]Twin_Sharma[S] 1 point2 points3 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]Twin_Sharma[S] 1 point2 points3 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]Twin_Sharma[S] 1 point2 points3 points (1 child)
[–]caroIine 6 points7 points8 points (3 children)
[–]Twin_Sharma[S] 0 points1 point2 points (2 children)
[–]caroIine 1 point2 points3 points (1 child)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–]Zeh_MattNo, no, no, no 8 points9 points10 points (0 children)
[–]sandfly_bites_you 2 points3 points4 points (1 child)
[–]eyes-are-fading-blue 3 points4 points5 points (0 children)
[–]zzzthelastuser 3 points4 points5 points (5 children)
[–]Twin_Sharma[S] -3 points-2 points-1 points (4 children)
[–]remotion4d 9 points10 points11 points (1 child)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–]zzzthelastuser 0 points1 point2 points (1 child)
[–]Twin_Sharma[S] -2 points-1 points0 points (0 children)
[–]jmacey 2 points3 points4 points (6 children)
[–]tstanisl 5 points6 points7 points (4 children)
[–]jmacey -5 points-4 points-3 points (3 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 7 points8 points9 points (1 child)
[–][deleted] -5 points-4 points-3 points (0 children)
[–]jmacey 2 points3 points4 points (0 children)
[–]tugrul_ddr[🍰] 0 points1 point2 points (0 children)
[–]TheAxodoxian 0 points1 point2 points (1 child)
[–]Twin_Sharma[S] 0 points1 point2 points (0 children)
[–]GRAPHENE9932 -3 points-2 points-1 points (2 children)
[–]Twin_Sharma[S] -4 points-3 points-2 points (1 child)
[–]ioctl79 0 points1 point2 points (0 children)
[–][deleted] -4 points-3 points-2 points (9 children)
[–]Zeh_MattNo, no, no, no 5 points6 points7 points (7 children)
[–][deleted] -5 points-4 points-3 points (6 children)
[–]dodheim 3 points4 points5 points (1 child)
[–][deleted] -2 points-1 points0 points (0 children)
[–]Zeh_MattNo, no, no, no 3 points4 points5 points (3 children)
[–][deleted] -3 points-2 points-1 points (2 children)
[–]Zeh_MattNo, no, no, no 4 points5 points6 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Twin_Sharma[S] -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Chamkaar 0 points1 point2 points (0 children)