here d is defined like this way:
when d = 1.0 my program should execute the things inside the if condition but it does. I am not figure it why. Can anyone please help me out?Code:d = dx*dx + dy*dy + dz*dz; if (d <1.0) { do something }
Thanx in advance