Files
XCSDD/docs/api/math/matrix4/multiplypoint.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

356 B

Matrix4::MultiplyPoint

Vector3 MultiplyPoint(const Vector3& v) const

使用矩阵变换点(包含平移)。

参数:

  • v - 要变换的点

返回: Vector3 - 变换后的点

复杂度: O(1)

示例:

Matrix4 model = Matrix4::TRS(pos, rot, scale);
Vector3 worldPos = model.MultiplyPoint(localPos);