openMSX
Classes | Namespaces | Typedefs | Functions
gl_mat.hh File Reference
#include "gl_vec.hh"
#include <cassert>
Include dependency graph for gl_mat.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gl::matMxN< M, N, T >
 
class  gl::matMxN< 4, 4, T >
 

Namespaces

 gl
 

Typedefs

using gl::mat2 = matMxN< 2, 2, float >
 
using gl::mat3 = matMxN< 3, 3, float >
 
using gl::mat4 = matMxN< 4, 4, float >
 

Functions

template<int M, int N, typename T >
bool gl::operator== (const matMxN< M, N, T > &A, const matMxN< M, N, T > &B)
 
template<int M, int N, typename T >
bool gl::operator!= (const matMxN< M, N, T > &A, const matMxN< M, N, T > &B)
 
template<int M, int N, typename T >
matMxN< M, N, T > gl::operator+ (const matMxN< M, N, T > &A, const matMxN< M, N, T > &B)
 
template<int M, int N, typename T >
matMxN< M, N, T > gl::operator- (const matMxN< M, N, T > &A, const matMxN< M, N, T > &B)
 
template<int M, int N, typename T >
matMxN< M, N, T > gl::operator- (const matMxN< M, N, T > &A)
 
template<int M, int N, typename T >
matMxN< M, N, T > gl::operator* (T x, const matMxN< M, N, T > &A)
 
template<int M, int N, typename T >
matMxN< M, N, T > gl::operator* (const matMxN< M, N, T > &A, T x)
 
template<int M, int N, typename T >
vecN< M, T > gl::operator* (const matMxN< M, N, T > &A, const vecN< N, T > &x)
 
template<typename T >
vecN< 4, T > gl::operator* (const matMxN< 4, 4, T > &A, vecN< 4, T > x)
 
template<int M, int N, int O, typename T >
matMxN< M, O, T > gl::operator* (const matMxN< M, N, T > &A, const matMxN< N, O, T > &B)
 
template<int M, int N, typename T >
matMxN< N, M, T > gl::transpose (const matMxN< M, N, T > &A)
 
template<typename T >
gl::determinant (const matMxN< 2, 2, T > &A)
 
template<typename T >
gl::determinant (const matMxN< 3, 3, T > &A)
 
template<typename T >
gl::determinant (const matMxN< 4, 4, T > &A)
 
template<typename T >
matMxN< 2, 2, T > gl::inverse (const matMxN< 2, 2, T > &A)
 
template<typename T >
matMxN< 3, 3, T > gl::inverse (const matMxN< 3, 3, T > &A)
 
template<typename T >
matMxN< 4, 4, T > gl::inverse (const matMxN< 4, 4, T > &A)
 
template<int M, int N, typename T >
gl::norm2_2 (const matMxN< M, N, T > &A)
 
template<int M, int N, typename T >
std::ostream & gl::operator<< (std::ostream &os, const matMxN< M, N, T > &A)