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