.@Simeon There is a error with vec4() initialization. If a parameter isn’t supplied, the default should be 0. See the example below.
function setup()
print( vec2() )
print( vec3() )
print( vec4() )
end
This results in:
(0.000000, 0.000000)
(0.000000, 0.000000, 0.000000)
(0.000000, 0.000000, 0.000000, 1.000000)