Just a small request.
This annoys me every time.
local v = vmath.vector3()
local new_vector1 = v * 2 -- works fine
local new_vector2 = v / 2 -- throws error
Just a small request.
This annoys me every time.
local v = vmath.vector3()
local new_vector1 = v * 2 -- works fine
local new_vector2 = v / 2 -- throws error
v*0.5 as quick solution?
v*(1/x)
Yes
More of an inconsistency annoyance than a difficult problem
…And a very good way to avoid division by zero.
I think I reported this in an old JIRA somewhere. Will check.
Well, yes I guess that could actually very well be the reason why you don’t allow it .
We added support for vector3/4 division in 1.2.161