cross prod



This node calculates cross product of input vectors. Resulting vector is perpendicular to both vectors A and B and thus a normal to a plane containing them. If vectors A and B form a parallelogram, then length of Resulting vector represents its area.

In both cases input vectors do not need to be normalized.




Input A - First vector.


Input B - Second vector.


Normalize - If enabled, the output vector will be normalized


Scale Res - Scales the result vector. It is applied after eventual vector normalization.





Res - The result value.