PRSMatrix Struct Reference

#include <neutron_base.h>

Public Member Functions

Matrix GetMatrix () const
 
void SetMatrix (const Matrix &matrix, ROTATIONORDER order=DEFAULT_ORDER)
 
 MAXON_OPERATOR_STRUCT (PRSMatrix, position, rotation, scale, shear, order)
 

Static Public Member Functions

static PRSMatrix FromMatrix (const Matrix &matrix, ROTATIONORDER order=DEFAULT_ORDER)
 

Public Attributes

Vector position
 
Vector rotation
 
Vector scale
 
Vector shear
 
ROTATIONORDER order
 

Static Public Attributes

static constexpr ROTATIONORDER DEFAULT_ORDER
 

Member Function Documentation

◆ GetMatrix()

Matrix GetMatrix ( ) const

◆ SetMatrix()

void SetMatrix ( const Matrix matrix,
ROTATIONORDER  order = DEFAULT_ORDER 
)

◆ FromMatrix()

static PRSMatrix FromMatrix ( const Matrix matrix,
ROTATIONORDER  order = DEFAULT_ORDER 
)
static

◆ MAXON_OPERATOR_STRUCT()

MAXON_OPERATOR_STRUCT ( PRSMatrix  ,
position  ,
rotation  ,
scale  ,
shear  ,
order   
)

Member Data Documentation

◆ DEFAULT_ORDER

constexpr ROTATIONORDER DEFAULT_ORDER
staticconstexpr

◆ position

Vector position

The position.

◆ rotation

Vector rotation

The rotation.

◆ scale

Vector scale

The scale.

◆ shear

Vector shear

The shear.

◆ order

The order.