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

21 lines
282 B
Markdown

# Matrix4::Scale
```cpp
static Matrix4 Scale(const Vector3& v)
```
创建缩放矩阵。
**参数:**
- `v` - 各轴缩放因子
**返回:** `Matrix4` - 缩放矩阵
**复杂度:** O(1)
**示例:**
```cpp
Matrix4 scale = Matrix4::Scale(Vector3(2.0f, 2.0f, 2.0f));
```