Files
XCSDD/docs/api/math/bounds/expand.md

20 lines
243 B
Markdown
Raw Normal View History

# Bounds::Expand
```cpp
void Expand(float amount)
void Expand(const Vector3& amount)
```
扩展包围盒。
**参数:**
- `amount` - 扩展量(各方向或统一)
**复杂度:** O(1)
**示例:**
```cpp
bounds.Expand(1.0f);
```