Files
XCSDD/docs/api/math/matrix3/rotationx.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

302 B

Matrix3::RotationX

static Matrix3 RotationX(float radians)

创建绕 X 轴旋转的矩阵。

参数:

  • radians - 旋转角度(弧度)

返回: Matrix3 - 旋转矩阵

复杂度: O(1)

示例:

Matrix3 rotX = Matrix3::RotationX(Math::HALF_PI);