struct TransposePolicy

template<class Type>

Policy class that allows us to re-use this template class for matrices which might need transposing, and other types which do not.

Matrix needs to be transposed for certain render systems depending on how they store them in memory.

Public

Methods

staticTranspose

static Type Transpose(const Type &value)

staticTransposeEnabled

static bool TransposeEnabled(bool enabled)

staticTranspose

static Matrix3 Transpose(const Matrix3 &value)

staticTransposeEnabled

static bool TransposeEnabled(bool enabled)

staticTranspose

static Matrix4 Transpose(const Matrix4 &value)

staticTransposeEnabled

static bool TransposeEnabled(bool enabled)

staticTranspose

static MatrixNxM<M, N> Transpose(const MatrixNxM<N, M> &value)

staticTransposeEnabled

static bool TransposeEnabled(bool enabled)