Files
XCSDD/docs/api/math/aabb/obb-getaxis.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

269 B

OBB::GetAxis

Vector3 GetAxis(int index) const

获取 OBB 的局部轴。

参数:

  • index - 轴索引 (0=X, 1=Y, 2=Z)

返回: Vector3 - 对应的局部轴

复杂度: O(1)

示例:

Vector3 xAxis = obb.GetAxis(0);