Hi there!

I am somehow stuck making use of the AnyFunCross function… I want the cross-product of two constant vectors, e.g.
AnyVec3 vec1 = {0.5,0.2,0.5}
AnyVec3 vec2 = {-0.4,0.1,0.4}
How do I use the AnyFunCross class? It is not as intuitive as other classes and the reference manual is not of any help…

Best regards,

Hi Ole,
AnyVec3 vec1 = {0.5,0.2,0.5};
AnyVec3 vec2 = {-0.4,0.1,0.4};
AnyVec3 vec3 = cross(vec1,vec2);
Best regards,