Graphmath.Vec2.create
You're seeing just the function
create, go back to Graphmath.Vec2 module for more information.
Link to this function
create()
Specs
create() :: vec2()
create() creates a zero vec2.
It will return a tuple of the form {0.0,0.0}.
create() creates a zeroed vec2.
It takes no arguments.
It returns a vec2 of the form { 0.0, 0.0 }.
Link to this function
create(vec)
Specs
create(vec) creates a vec2 from a list of 2 or more floats.
vec is a list of 2 or more floats.
It returns a vec2 of the form {x,y}, where x and y are the first three elements in vec.
Link to this function
create(x, y)
Specs
create(x,y) creates a vec2 of value (x,y).
x is the first element of the vec3 to be created.
y is the second element of the vec3 to be created.
It returns a vec2 of the form {x,y}.