|
CGVIS Utils
|
3×3 matrix template for rotations, scaling, and basic linear algebra. More...
#include <ostream>#include <string>#include <array>#include <sstream>#include <cmath>#include "Vec3.h"Go to the source code of this file.
Classes | |
| class | Mat3t< T > |
Typedefs | |
| typedef Mat3t< float > | Mat3 |
| Single-precision 3×3 matrix. | |
3×3 matrix template for rotations, scaling, and basic linear algebra.
Provides a compact column-major 3×3 matrix type, Mat3t<T>, with scalar arithmetic, matrix–matrix and matrix–vector multiplication, constructors for axis-aligned scaling and axis rotations (X/Y/Z), as well as transpose, determinant, and inverse helpers.
std::array<T,9> named e in column-major order (OpenGL-style). Operators and factory methods assume this layout.