API Documentation
MatrixWrapper.h
1 // MatrixWrapper.h
3 //
5 
7 {
11  class MatrixWrapper final
12  {
13  public :
14 
15  // Environment update
22 
23  // Callbacks
24  // Construction / destruction
35  static void* constructor (const nkScripts::DataStack& stack) ;
41  static void destructor (void* toDestroy) ;
75  // Getters
86  static nkScripts::OutputValue getM (void* data) ;
186  // Setters
197  static void setM (const nkScripts::DataStack& stack) ;
209  // Alterations
298  // Transformations
420  // Utilities
487  // Conversions
506  // Operators
540  // Logical
552  } ;
553 }
nkAstraeus::nkMathsWrap
Encompasses the wrapping of nkMaths for scripting.
Definition: MatrixWrapper.h:7
nkAstraeus::nkMathsWrap::MatrixWrapper
Wraps a nkMaths::Matrix and offers functions for use in scripting.
Definition: MatrixWrapper.h:12
nkAstraeus::nkMathsWrap::MatrixWrapper::updateEnvironment
static void updateEnvironment(nkScripts::Environment *env)
nkAstraeus::nkMathsWrap::MatrixWrapper::getRow0
static nkScripts::OutputValue getRow0(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::newMat2
static nkScripts::OutputValue newMat2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::newMat4
static nkScripts::OutputValue newMat4(const nkScripts::DataStack &stack)
nkScripts::Environment
Defines an environment in which scripts can execute.
Definition: Environment.h:14
nkAstraeus::nkMathsWrap::MatrixWrapper::getTraceMat4
static nkScripts::OutputValue getTraceMat4(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getDeterminantMat4
static nkScripts::OutputValue getDeterminantMat4(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getM
static nkScripts::OutputValue getM(void *data)
nkAstraeus::nkMathsWrap::MatrixWrapper::getTranspose
static nkScripts::OutputValue getTranspose(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::inverseMat4
static nkScripts::OutputValue inverseMat4(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::toString
static nkScripts::OutputValue toString(const nkScripts::DataStack &stack)
nkMemory::BufferView
A view over data.
Definition: BufferView.h:18
nkAstraeus::nkMathsWrap::MatrixWrapper::eq
static nkScripts::OutputValue eq(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setToPerspectiveMatrix
static nkScripts::OutputValue setToPerspectiveMatrix(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::constructor
static void * constructor(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getInverseMat3
static nkScripts::OutputValue getInverseMat3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getRow3
static nkScripts::OutputValue getRow3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::destructor
static void destructor(void *toDestroy)
nkAstraeus::nkMathsWrap::MatrixWrapper::getRow2
static nkScripts::OutputValue getRow2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::mul
static nkScripts::OutputValue mul(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getPositionComponent
static nkScripts::OutputValue getPositionComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getCol3
static nkScripts::OutputValue getCol3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::set
static nkScripts::OutputValue set(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setToTransformation
static nkScripts::OutputValue setToTransformation(const nkScripts::DataStack &stack)
nkScripts::FunctionParameter
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
nkAstraeus::nkMathsWrap::MatrixWrapper::add
static nkScripts::OutputValue add(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getTraceMat2
static nkScripts::OutputValue getTraceMat2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getDecomposed
static nkScripts::OutputValue getDecomposed(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::transpose
static nkScripts::OutputValue transpose(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getCol1
static nkScripts::OutputValue getCol1(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getCol2
static nkScripts::OutputValue getCol2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setScaleComponent
static nkScripts::OutputValue setScaleComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::inverseMat3
static nkScripts::OutputValue inverseMat3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setM
static void setM(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::sub
static nkScripts::OutputValue sub(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setPositionComponent
static nkScripts::OutputValue setPositionComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getDeterminantMat3
static nkScripts::OutputValue getDeterminantMat3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setOrientationComponent
static nkScripts::OutputValue setOrientationComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getCol0
static nkScripts::OutputValue getCol0(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getScaleComponent
static nkScripts::OutputValue getScaleComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::get
static nkScripts::OutputValue get(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setToOrthographicMatrix
static nkScripts::OutputValue setToOrthographicMatrix(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getInverseMat4
static nkScripts::OutputValue getInverseMat4(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::newMat3
static nkScripts::OutputValue newMat3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getInverseMat2
static nkScripts::OutputValue getInverseMat2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getDeterminantMat2
static nkScripts::OutputValue getDeterminantMat2(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getRow1
static nkScripts::OutputValue getRow1(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getTraceMat3
static nkScripts::OutputValue getTraceMat3(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::getOrientationComponent
static nkScripts::OutputValue getOrientationComponent(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::setToViewMatrixDirection
static nkScripts::OutputValue setToViewMatrixDirection(const nkScripts::DataStack &stack)
nkAstraeus::nkMathsWrap::MatrixWrapper::inverseMat2
static nkScripts::OutputValue inverseMat2(const nkScripts::DataStack &stack)