载入中...
搜索中...
未找到

Column-major 4x4 matrix (OpenGL / glTF / Assimp-compatible layout). Elements: m[col * 4 + row]. 更多...

#include <AnimMath.h>

Public 成员函数

void transformPoint (float x, float y, float z, float &ox, float &oy, float &oz) const
 Transform point.
 

静态 Public 成员函数

static Mat4 identity ()
 Identity.
 
static Mat4 fromTRS (const TransformTRS &t)
 From trs.
 
static Mat4 mul (const Mat4 &a, const Mat4 &b)
 Mul.
 

Public 属性

float m [16] = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}
 

详细描述

Column-major 4x4 matrix (OpenGL / glTF / Assimp-compatible layout). Elements: m[col * 4 + row].

在文件 AnimMath.h 第 156 行定义.

成员函数说明

◆ fromTRS()

static Mat4 eve::animation::Mat4::fromTRS ( const TransformTRS &  t)
inlinestatic

◆ identity()

static Mat4 eve::animation::Mat4::identity ( )
inlinestatic

Identity.

在文件 AnimMath.h 第 160 行定义.

◆ mul()

static Mat4 eve::animation::Mat4::mul ( const Mat4 &  a,
const Mat4 &  b 
)
inlinestatic

Mul.

在文件 AnimMath.h 第 191 行定义.

引用了 a, b , 以及 m.

被这些函数引用 eve::animation::AnimSkin::updateMatrixPalette() , 以及 eve::animation::AnimSkin::updateSkinnedNormals().

◆ transformPoint()

void eve::animation::Mat4::transformPoint ( float  x,
float  y,
float  z,
float &  ox,
float &  oy,
float &  oz 
) const
inline

Transform point.

在文件 AnimMath.h 第 205 行定义.

引用了 m, ox, oy, x, y , 以及 z.

类成员变量说明

◆ m

float eve::animation::Mat4::m[16] = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}

该结构体的文档由以下文件生成: