This is a very library adding what's necessary for handling 3d rotations in C++. I spent a lot of time researching this (Quaternions aren't easy!), and spent time iterating on it. It includes quaternions, complex numbers, and I matrices. It is all unit tested. I started by rigorously studying linear algebra for this. This project became necessary when I wanted to run physics simulations, including a kalman filter. I learned about rotation groups in group theory, matrices, and hypercomplex numbers for this. I also created the hypercomplex npm library to showcase this (check it out!). I spent about 20 hours total if you include theory, but only around 10 if you count programming, testing, optimizing, and debugging. See commit history.
This is a very library adding what's necessary for handling 3d rotations in C++. I spent a lot of time researching this (Quaternions aren't easy!), and spent time iterating on it. It includes quaternions, complex numbers, and I matrices. It is all unit tested. I started by rigorously studying linear algebra for this. This project became necessary when I wanted to run physics simulations, including a kalman filter. I learned about rotation groups in group theory, matrices, and hypercomplex numbers for this. I also created the hypercomplex npm library to showcase this (check it out!). I spent about 20 hours total if you include theory, but only around 10 if you count programming, testing, optimizing, and debugging. See commit history.