Because there are no absolute values for float; i.e. there’s no 2 but 1.9999999 or 2.0000001 or something like this. Your TotalVector is probably a very small value near zero (but not zero). That’s why we use NearlyEqual to compare float values. Also, look here. It describes the issue with floating values precision:
2 Likes