Simple mathematical library to work with vectors and matrices. More...
#include "mat.h"
Functions | |
float | DotProduct (const TVector &v1, const TVector &v2) |
Calculate dot product of two vectors. | |
TVector | CrossProduct (const TVector &v1, const TVector &v2) |
Calculate cross product of two vectors. | |
float | VecAngle (TVector &v1, TVector &v2) |
Calculate angle of two vectors. | |
ostream & | operator<< (ostream &os, const TMatrix &m) |
Print out matrix values as std::ostream object. |
Simple mathematical library to work with vectors and matrices.
ostream& operator<< | ( | ostream & | os, | |
const TMatrix & | m | |||
) |
Print out matrix values as std::ostream object.
os | reference to std::ostream | |
m | reference to printed matrix |