I have a problem, and i'm not sure why. I need to addition to float3 values.
float3 a3 = cross(v1v2,intersection.pIntersect);
a3.normalize();
float3 lambda1 = a3 / (a1+a2+a3);
error: no match for ‘operator/’ in ‘a3 / math::operator+((* & math::operator+(((const math::vector)(& a3)))’
So its not possible to + operate the float3 values. Do I have the wrong type for lambda? or do i miss an operation befor? Or is the normilize() method changing the typ ?
thx for any help :)