Hey guys, I'm new to c++ and need to create a math library that is capable of doing the following tasks:
Create an Identity Matric
Create a Translation Matrix
Create a scaling Matric (uniform)
Create a Shear Matrix (non-uniform scaling)
Create a Rotation Matrix (about individual axis)
So far I have the following code but I'm fairly sure it's wrong as I get error messages and I know at some point I am going to need to use pointers and more void vectors.
If you guys could give me tips, point me in the right direction or even flesh it out for me as to give me an idea of what I'm doing wrong/next I would really appreciate it.
First when posting code use code tags: http://www.cplusplus.com/articles/jEywvCM9/
In future you should also post what errors you're getting.
As for your code, you're not returning anything from GetMagnitude or GetMagnitudeSquared.