NcEngine
MatrixUtilities.h File Reference
#include "ncmath/Vector.h"
#include "ncmath/Quaternion.h"
#include "DirectXMath.h"

Go to the source code of this file.

Classes

struct  nc::DecomposedMatrixXM
 

Functions

auto nc::ToVector3 (DirectX::FXMVECTOR in) noexcept -> Vector3
 
auto nc::ToQuaternion (DirectX::FXMVECTOR in) noexcept -> Quaternion
 
auto nc::DecomposeMatrix (DirectX::FXMMATRIX in) noexcept -> DecomposedMatrixXM
 
auto nc::DecomposeRotation (DirectX::FXMMATRIX in) noexcept -> DirectX::XMVECTOR
 
auto nc::DecomposeScale (DirectX::FXMMATRIX in) noexcept -> DirectX::XMVECTOR
 
DirectX::XMVECTOR nc::ToXMVector (const Vector3 &v)
 
DirectX::XMVECTOR nc::ToXMVectorHomogeneous (const Vector3 &v)
 
DirectX::XMVECTOR nc::ToXMVector (const Quaternion &q)
 
DirectX::XMMATRIX nc::ToTransMatrix (const Vector3 &v)
 
DirectX::XMMATRIX nc::ToScaleMatrix (const Vector3 &v)
 
DirectX::XMMATRIX nc::ToRotMatrix (const Vector3 &v)
 
DirectX::XMMATRIX nc::ToRotMatrix (const Quaternion &q)
 
DirectX::XMMATRIX nc::ToRotMatrix (const Vector3 &a, float r)
 
auto nc::ComposeMatrix (DirectX::FXMVECTOR scale, DirectX::FXMVECTOR rotation, DirectX::FXMVECTOR position) -> DirectX::XMMATRIX
 
auto nc::ComposeMatrix (const Vector3 &scale, const Quaternion &rotation, const Vector3 &position) -> DirectX::XMMATRIX
 
float nc::GetMaxScaleExtent (DirectX::FXMMATRIX matrix)
 

Detailed Description