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
This commit is contained in:
21
docs/api/math/quaternion/fromaxisangle.md
Normal file
21
docs/api/math/quaternion/fromaxisangle.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Quaternion::FromAxisAngle
|
||||
|
||||
```cpp
|
||||
static Quaternion FromAxisAngle(const Vector3& axis, float radians)
|
||||
```
|
||||
|
||||
从轴角创建四元数。
|
||||
|
||||
**参数:**
|
||||
- `axis` - 旋转轴(应为单位向量)
|
||||
- `radians` - 旋转角度(弧度)
|
||||
|
||||
**返回:** `Quaternion` - 表示旋转的四元数
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Quaternion rot = Quaternion::FromAxisAngle(Vector3::Up(), 90.0f * DEG_TO_RAD);
|
||||
```
|
||||
Reference in New Issue
Block a user