Files
XCSDD/docs/api/math/quaternion/slerp.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

23 lines
403 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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);
```