- 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
517 B
517 B
Matrix4::Orthographic
static Matrix4 Orthographic(float left, float right, float bottom, float top, float near, float far)
创建正交投影矩阵。
参数:
left- 左裁剪面right- 右裁剪面bottom- 下裁剪面top- 上裁剪面near- 近裁剪面距离far- 远裁剪面距离
返回: Matrix4 - 正交投影矩阵
复杂度: O(1)
示例:
Matrix4 ortho = Matrix4::Orthographic(-aspect, aspect, -1.0f, 1.0f, 0.1f, 100.0f);