Update API documentation and remove obsolete plan files

This commit is contained in:
2026-03-21 15:55:04 +08:00
parent 7a6cd412c8
commit 629455df07
75 changed files with 1075 additions and 1816 deletions

View File

@@ -0,0 +1,30 @@
# Vector2::operator+
```cpp
Vector2 operator+(const Vector2& other) const
```
向量加法,将当前向量与另一个向量相加。
**参数:**
- `other` - 要相加的向量
**返回:** `Vector2` - 相加结果向量
**线程安全:**
**复杂度:** O(1)
**示例:**
```cpp
Vector2 a(1.0f, 2.0f);
Vector2 b(3.0f, 4.0f);
Vector2 c = a + b; // (4.0f, 6.0f)
```
## 相关文档
- [Vector2 总览](vector2.md)
- [`operator-`](operator-sub.md) - 减法
- [`operator+=`](operator-add-assign.md) - 加法赋值