- 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
415 B
415 B
Matrix4::LookAt
static Matrix4 LookAt(const Vector3& eye, const Vector3& target, const Vector3& up)
创建视图矩阵(观察矩阵)。
参数:
eye- 相机位置target- 观察目标点up- 世界空间中的上方向
返回: Matrix4 - 视图矩阵
复杂度: O(1)
示例:
Matrix4 view = Matrix4::LookAt(cameraPos, target, Vector3::Up());