Files
XCSDD/docs/api/math/quaternion/tomatrix4x4.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- Fix link resolution with proper relative/absolute path handling
- Improve link styling with underline decoration
- Hide leaf nodes from tree, only show directories
- Fix log file path for packaged app
2026-03-19 12:44:08 +08:00

258 B

Quaternion::ToMatrix4x4

Matrix4x4 ToMatrix4x4() const

将四元数转换为 4x4 旋转矩阵。

返回: Matrix4x4 - 旋转矩阵

复杂度: O(1)

示例:

Quaternion rot = ...;
Matrix4 mat = rot.ToMatrix4x4();