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

20 lines
269 B
Markdown
Raw Permalink Normal View History

# Bounds::SetMinMax
```cpp
void SetMinMax(const Vector3& min, const Vector3& max)
```
从最小/最大点设置包围盒。
**参数:**
- `min` - 最小点
- `max` - 最大点
**复杂度:** O(1)
**示例:**
```cpp
bounds.SetMinMax(minPoint, maxPoint);
```