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

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
 

静态 Public 成员函数

static Mat4 identity ()
 
static Mat4 fromTRS (const TransformTRS &t)
 
static Mat4 mul (const Mat4 &a, const Mat4 &b)
 

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.h97 行定义.

成员函数说明

◆ fromTRS()

◆ identity()

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

在文件 AnimMath.h100 行定义.

◆ mul()

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

在文件 AnimMath.h129 行定义.

引用了 a, b , 以及 m.

◆ transformPoint()

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

在文件 AnimMath.h142 行定义.

引用了 m, 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}

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