Vector2.new

From Wake
Jump to: navigation, search

Constructor.

Function

Synopsis

v = Vector2.new()
v = Vector2.new(o)
v = Vector2.new(v1, v2)

Arguments

Vector2 o

Vector or table to copy.


number v1..v2

Values for the vector.

Returns

Vector2 v

Constructed instance.

See Also