Update Types

entar 2025-06-10 11:49:55 +07:00
parent 29ba8f7e22
commit 568f5bd497

@ -13,6 +13,6 @@ But the type itself has functions to manupulate those x and y.
- `Vector2:Add(Vector2) -> Vector2` -- Add a Vector2 to Vector2. x1 + x2, y1 + y1
- `Vector2:Mul(number) -> Vector2` -- Multiply a Vector2 by a certain number
- `Vector2:Div(number) -> Vector2` -- Divide a Vector2 by a certain number
- `Vector2:Negate() -> Vector2' -- Returns the negative version of this Vector2. -x, -y
- `Vector2:Negate() -> Vector2` -- Returns the negative version of this Vector2. -x, -y
- `Vector2:Get() -> number, number` -- Returns x and y. local x, y = Vector2:Get()
- `Vector2:Lerp(Vector2, number) -> Vector2` -- Returns a Lineally Interpolated Vector2 between those 2 Vector2's. Position = 0-1