Hi.
I have two vectors and I want to check if they are equal or not, so this is what I did so far:
http://prntscr.com/cfxu8d
The vectors Im trying to compare are the normal of the grid (created by me in a create attribute SOP) and the vector wich starts from the grid and points to a sphere.
If the vectors are equal I set the color of the grid green, otherwise red.
In the vop sop I normalized the 2 vectors because I saw online that two vectors to be equal must have the same magnitude too, but even after normalizing them it still doesnt work.
Why?
Vectors_check.hipnc