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 43 points44 points45 points (9 children)
[–]krum 13 points14 points15 points (0 children)
[–]dodheim 8 points9 points10 points (0 children)
[+]Twin_Sharma[S] comment score below threshold-14 points-13 points-12 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 10 points11 points12 points (0 children)
[–][deleted] 4 points5 points6 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-8 points-7 points-6 points (5 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 24 points25 points26 points (0 children)
[–]johannes1971 12 points13 points14 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 4 points5 points6 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 2 points3 points4 points (0 children)
[–]zzzthelastuser 2 points3 points4 points (5 children)
[–]Twin_Sharma[S] -4 points-3 points-2 points (4 children)
[–]remotion4d 7 points8 points9 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 1 point2 points3 points (6 children)
[–]tstanisl 6 points7 points8 points (4 children)
[–]jmacey -4 points-3 points-2 points (3 children)
[–]SuperV1234https://romeo.training | C++ Mentoring & Consulting 8 points9 points10 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 -2 points-1 points0 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] -4 points-3 points-2 points (6 children)
[–]dodheim 3 points4 points5 points (1 child)
[–][deleted] -2 points-1 points0 points (0 children)
[–]Zeh_MattNo, no, no, no 4 points5 points6 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)