Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CGlMatrix Class Reference

#include <ConversionMatrix.h>

Inheritance diagram for CGlMatrix:
CMatrix< 4 > CScale CTranslate

Public Member Functions

 CGlMatrix ()=default
 
 CGlMatrix (const CMatrix< 3 > &other)
 
 CGlMatrix (const std::array< std::array< float, 3 >, 3 > &other)
 
 ~CGlMatrix () override=default
 
CMatrix operator* (const std::array< std::array< float, 4 >, 4 > &other) override
 
- Public Member Functions inherited from CMatrix< 4 >
 CMatrix ()=default
 
 CMatrix (const CMatrix< Order - 1 > &other)
 
 CMatrix (const std::array< std::array< float, Order >, Order > &other)
 
 CMatrix (const std::array< std::array< float, Order - 1 >, Order - 1 > &other)
 
virtual ~CMatrix ()=default
 
virtual CMatrix operator* (const std::array< std::array< float, Order >, Order > &other)
 
CMatrix operator* (const CMatrix &other)
 
CMatrixoperator*= (const CMatrix &other)
 
CMatrixoperator= (const std::array< std::array< float, Order - 1 >, Order - 1 > &other)
 
bool operator== (const CMatrix< Order > &other) const
 
std::array< float, Order > & operator[] (int index)
 
const std::array< float, Order > & operator[] (int index) const
 
std::array< std::array< float, Order >, Order > & Get ()
 
const std::array< std::array< float, Order >, Order > & Get () const
 
CMatrixInvert ()
 
float * ToRaw ()
 

Additional Inherited Members

- Protected Member Functions inherited from CMatrix< 4 >
std::array< std::array< float, Order >, Order > Invert (std::array< std::array< float, Order >, Order > &other) const
 
- Protected Attributes inherited from CMatrix< 4 >
std::array< std::array< float, Order >, Order > m_mat
 

Constructor & Destructor Documentation

◆ CGlMatrix() [1/3]

CGlMatrix::CGlMatrix ( )
default

◆ CGlMatrix() [2/3]

CGlMatrix::CGlMatrix ( const CMatrix< 3 > & other)
explicit

◆ CGlMatrix() [3/3]

CGlMatrix::CGlMatrix ( const std::array< std::array< float, 3 >, 3 > & other)
explicit

◆ ~CGlMatrix()

CGlMatrix::~CGlMatrix ( )
overridedefault

Member Function Documentation

◆ operator*()

CGlMatrix::CMatrix CGlMatrix::operator* ( const std::array< std::array< float, 4 >, 4 > & other)
override

The documentation for this class was generated from the following files: