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:
22
docs/api/math/quaternion/slerp.md
Normal file
22
docs/api/math/quaternion/slerp.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Quaternion::Slerp
|
||||
|
||||
```cpp
|
||||
static Quaternion Slerp(const Quaternion& a, const Quaternion& b, float t)
|
||||
```
|
||||
|
||||
在两个四元数之间进行球面线性插值。
|
||||
|
||||
**参数:**
|
||||
- `a` - 起始四元数
|
||||
- `b` - 结束四元数
|
||||
- `t` - 插值因子(0-1)
|
||||
|
||||
**返回:** `Quaternion` - 插值结果
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Quaternion lerped = Quaternion::Slerp(rot1, rot2, 0.5f);
|
||||
```
|
||||
Reference in New Issue
Block a user