数学函数约定
2026/1/7小于 1 分钟
数学函数约定
基本上与Eigen库的函数声明兼容
class MathObject
{
public:
static MathObject Identity();
MathObject normalized() const;
void normalize();
MathObject inverse() const;
void getInverse(MathObject& me) const;
Self transpose() const;
void transposeInPlace();
};MathObject是下面的其中一种:Matrix、Vector、Quaternion、Rotation、Transform等等