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

383 B

Matrix4::MultiplyVector

Vector3 MultiplyVector(const Vector3& v) const

使用矩阵变换方向向量(不包含平移)。

参数:

  • v - 要变换的方向向量

返回: Vector3 - 变换后的方向

复杂度: O(1)

示例:

Matrix4 model = Matrix4::TRS(pos, rot, scale);
Vector3 worldDir = model.MultiplyVector(localDir);