docs: update math API docs
This commit is contained in:
20
docs/api/math/vector4/constructor_default.md
Normal file
20
docs/api/math/vector4/constructor_default.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# Vector4::Vector4
|
||||
|
||||
```cpp
|
||||
Vector4() = default;
|
||||
```
|
||||
|
||||
默认构造函数,创建零向量 (0, 0, 0, 0)。
|
||||
|
||||
**返回:** 新创建的 Vector4 实例
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
Vector4 v; // (0, 0, 0, 0)
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [Vector4 总览](vector4.md) - 返回类总览
|
||||
- [Zero](zero.md) - 返回零向量
|
||||
Reference in New Issue
Block a user