docs: fix naming conventions across threading, math, memory, core, and debug modules
threading/: - Rename 19 camelCase method files to hyphenated names - task-system: createtaskgroup→create-task-group, etc. - tasksystemconfig: enabletaskprofiling→enable-task-profiling, etc. - thread: getcurrentid→get-current-id, etc. - task: addref→add-ref, getid→get-id, etc. math/: - Rename underscore operator files to hyphenated - vector3: operator_add→operator-add, etc. - matrix4: gettranslation→get-translation, etc. - vector4: tovector3→to-vector3, constructor_vector3→constructor-vector3 - sphere: sphere_constructor→sphere-constructor, etc. memory/: - Remove duplicate memorymanager/ folder (kept manager/ which was correct) core/: - filewriter: Consolidate ctor-default.md and ctor-file.md into constructor.md - Rename dtor.md→destructor.md debug/: - filelogsink: Rename construct.md→constructor.md, ~filelogsink.md→destructor.md All overview pages updated with new file references.
This commit is contained in:
@@ -34,17 +34,17 @@
|
||||
| [`RotationX`](rotationx.md) | 创建绕 X 轴旋转矩阵 |
|
||||
| [`RotationY`](rotationy.md) | 创建绕 Y 轴旋转矩阵 |
|
||||
| [`RotationZ`](rotationz.md) | 创建绕 Z 轴旋转矩阵 |
|
||||
| [`operator*`](operator_mul.md) | 矩阵乘法 |
|
||||
| [`operator*`](operator-mul.md) | 矩阵乘法 |
|
||||
| [`MultiplyPoint`](multiplypoint.md) | 变换点(w=1) |
|
||||
| [`MultiplyVector`](multiplyvector.md) | 变换向量(w=0) |
|
||||
| [`Transpose`](transpose.md) | 转置矩阵 |
|
||||
| [`Inverse`](inverse.md) | 求逆矩阵 |
|
||||
| [`Determinant`](determinant.md) | 计算行列式 |
|
||||
| [`GetTranslation`](gettranslation.md) | 获取平移分量 |
|
||||
| [`GetRotation`](getrotation.md) | 获取旋转分量 |
|
||||
| [`GetScale`](getscale.md) | 获取缩放分量 |
|
||||
| [`GetTranslation`](get-translation.md) | 获取平移分量 |
|
||||
| [`GetRotation`](get-rotation.md) | 获取旋转分量 |
|
||||
| [`GetScale`](get-scale.md) | 获取缩放分量 |
|
||||
| [`Decompose`](decompose.md) | 分解矩阵为变换分量 |
|
||||
| [`operator[]`](operator_index.md) | 访问矩阵行数据 |
|
||||
| [`operator[]`](operator-index.md) | 访问矩阵行数据 |
|
||||
|
||||
## 使用示例
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
|
||||
| 方法 | 描述 | 线程安全 | 复杂度 |
|
||||
|------|------|----------|--------|
|
||||
| [`Sphere()`](sphere_default_constructor.md) | 默认构造,零初始化 | ✅ | O(1) |
|
||||
| [`Sphere(const Vector3&, float)`](sphere_constructor.md) | 从中心和半径构造球体 | ✅ | O(1) |
|
||||
| [`Sphere()`](sphere-default-constructor.md) | 默认构造,零初始化 | ✅ | O(1) |
|
||||
| [`Sphere(const Vector3&, float)`](sphere-constructor.md) | 从中心和半径构造球体 | ✅ | O(1) |
|
||||
| [`Contains`](contains.md) | 检测点是否在球体内 | ✅ | O(1) |
|
||||
| [`Intersects`](intersects.md) | 检测两个球体是否相交 | ✅ | O(1) |
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Vector3 是 XCEngine 中用于表示三维向量的核心类型,支持常见
|
||||
| [`Lerp`](lerp.md) | 线性插值 |
|
||||
| [`MoveTowards`](movetowards.md) | 移向目标点 |
|
||||
| [`Project`](project.md) | 投影到法向量上 |
|
||||
| [`ProjectOnPlane`](projectonplane.md) | 投影到平面上 |
|
||||
| [`ProjectOnPlane`](project-on-plane.md) | 投影到平面上 |
|
||||
| [`Angle`](angle.md) | 计算两个向量之间的夹角 |
|
||||
| [`Reflect`](reflect.md) | 反射向量 |
|
||||
| [`Normalized`](normalized.md) | 返回归一化副本(实例方法) |
|
||||
@@ -49,12 +49,12 @@ Vector3 是 XCEngine 中用于表示三维向量的核心类型,支持常见
|
||||
|
||||
| 运算符 | 描述 |
|
||||
|--------|------|
|
||||
| [`+`](operator_add.md), [`-`](operator_sub.md) | 向量加减 |
|
||||
| [`*`](operator_mul.md), [`/`](operator_div.md) | 向量与标量或分量相乘/相除 |
|
||||
| [`+=`](operator_add_assign.md), [`-=`](operator_sub_assign.md) | 复合赋值运算符 |
|
||||
| [`*=`](operator_mul_assign.md), [`/=`](operator_div_assign.md) | 复合赋值运算符 |
|
||||
| [`[]`](./operator_index.md) | 下标访问 x, y, z 分量 |
|
||||
| [`==`](operator_eq.md), [`!=`](operator_neq.md) | 相等性比较 |
|
||||
| [`+`](operator-add.md), [`-`](operator-sub.md) | 向量加减 |
|
||||
| [`*`](operator-mul.md), [`/`](operator-div.md) | 向量与标量或分量相乘/相除 |
|
||||
| [`+=`](operator-add-assign.md), [`-=`](operator-sub-assign.md) | 复合赋值运算符 |
|
||||
| [`*=`](operator-mul-assign.md), [`/=`](operator-div-assign.md) | 复合赋值运算符 |
|
||||
| [`[]`](./operator-index.md) | 下标访问 x, y, z 分量 |
|
||||
| [`==`](operator-eq.md), [`!=`](operator-neq.md) | 相等性比较 |
|
||||
| [`* (Quaternion)`](quaternion-multiply.md) | 用四元数旋转向量 |
|
||||
|
||||
## 实例方法
|
||||
|
||||
@@ -29,14 +29,14 @@ Vector4 是四维向量结构体,常用于:
|
||||
|
||||
| 方法 | 描述 |
|
||||
|------|------|
|
||||
| [`Vector4()`](constructor_default.md) | 默认构造函数,创建零向量 |
|
||||
| [`Vector4()`](constructor-default.md) | 默认构造函数,创建零向量 |
|
||||
| [`Vector4(x, y, z, w)`](constructor.md) | 从四个分量构造向量 |
|
||||
| [`Vector4(Vector3, w)`](constructor_vector3.md) | 从 Vector3 构造(w 默认 0) |
|
||||
| [`Vector4(Vector3, w)`](constructor-vector3.md) | 从 Vector3 构造(w 默认 0) |
|
||||
| [`Zero`](zero.md) | 返回零向量 (0, 0, 0, 0) |
|
||||
| [`One`](one.md) | 返回单位向量 (1, 1, 1, 1) |
|
||||
| [`Dot`](dot.md) | 计算两个向量的点积 |
|
||||
| [`Project`](project.md) | 将向量投影到法线向量上 |
|
||||
| [`ToVector3`](tovector3.md) | 转换为 Vector3 |
|
||||
| [`ToVector3`](to-vector3.md) | 转换为 Vector3 |
|
||||
| [`operator[]`](./operator-brackets.md) | 下标访问分量 |
|
||||
| [`operator+`](operator-add.md) | 向量加法 |
|
||||
| [`operator-`](operator-sub.md) | 向量减法 |
|
||||
|
||||
Reference in New Issue
Block a user