Hey guys.
So i'm using GLM and I have this code:
But it does not compile because it says that no operator "/" matches the operators.Code :vec3 vhalf = (vec_v+vec_l) / 2;
I can get work-around it by doing this instead:
Which is ok, but not as much pleasant to program or read.Code :vec3 vhalf = (vec_v+vec_l); vhalf /= 2;
Am I missing something?
Why isn't this operator supported in GLM since it is perfectly doable in GLSL ?
thx



