18 lines
209 B
Markdown
18 lines
209 B
Markdown
|
|
# Bounds::GetMax
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
Vector3 GetMax() const
|
||
|
|
```
|
||
|
|
|
||
|
|
获取包围盒的最大点。
|
||
|
|
|
||
|
|
**返回:** `Vector3` - center + extents
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
Vector3 max = bounds.GetMax();
|
||
|
|
```
|