创建并返回一个新的 Vec2。如果提供了一个 Vec2 作为参数,新的 Vec2 的 x 和 y 将被设置为给定 Vec2 的 x 和 y。如果没有提供参数,新的 Vec2 的 x 和 y 将被设置为 0。
En
Creates and returns a new Vec2. If a Vec2 is provided as an argument, the new Vec2's x and y will be set to the given Vec2's x and y. If no argument is provided, the new Vec2's x and y will be set to 0.
Zh
二维向量
En
2D vector