18 lines
218 B
Markdown
18 lines
218 B
Markdown
|
|
# Vector2::Left
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
static Vector2 Left()
|
||
|
|
```
|
||
|
|
|
||
|
|
返回左方向向量 (-1, 0)。
|
||
|
|
|
||
|
|
**返回:** `Vector2` - 值为 (-1, 0) 的向量
|
||
|
|
|
||
|
|
**复杂度:** O(1)
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
Vector2 left = Vector2::Left();
|
||
|
|
```
|