Vec3 multiplication broken?

In the documentation it says you should be able to multiply and divide vec3s. Both of these throw errors for me:

local plotz = vec3(9,2,9) * vec3(0,1,3)
local plotz = vec3(9,2,9) / vec3(0,1,3)

@UberGoober I don’t think they mean a vec3 * vec3 but a vec3 * value. The below code works.


function setup()
    local plotz = vec3(9,2,9) * 5
    local plotz = vec3(9,2,9) / 5
end

It seems you’re right. Thanks dave.