- 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
300 B
300 B
Matrix4::Translation
static Matrix4 Translation(const Vector3& v)
创建平移矩阵。
参数:
v- 平移向量
返回: Matrix4 - 平移矩阵
复杂度: O(1)
示例:
Matrix4 translation = Matrix4::Translation(Vector3(1.0f, 2.0f, 3.0f));