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:
40
docs/api/math/quaternion/normalized.md
Normal file
40
docs/api/math/quaternion/normalized.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# Quaternion::Normalized / Normalize
|
||||
|
||||
## 实例方法
|
||||
|
||||
```cpp
|
||||
Quaternion Normalized() const
|
||||
```
|
||||
|
||||
返回当前四元数的归一化副本(不修改原四元数)。
|
||||
|
||||
**返回:** `Quaternion` - 归一化后的四元数副本
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Quaternion unit = quat.Normalized(); // quat 保持不变
|
||||
```
|
||||
|
||||
## 静态方法
|
||||
|
||||
```cpp
|
||||
static Quaternion Normalize(const Quaternion& q)
|
||||
```
|
||||
|
||||
归一化四元数。
|
||||
|
||||
**参数:**
|
||||
- `q` - 要归一化的四元数
|
||||
|
||||
**返回:** `Quaternion` - 归一化后的四元数
|
||||
|
||||
**复杂度:** O(1)
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Quaternion unit = Quaternion::Normalize(quat);
|
||||
```
|
||||
Reference in New Issue
Block a user