Original Post
So i get a Vector and in some cases it is (0,0,0). This gets normalised by double vector_length = this->length(); this->x /= vector_length; this->y /= vector_length; this->z /= vector_length; so should be 0/0. so im getting a divide by 0 returning that value. Can i just say if the length is 0 then divide by 1 so it will return 0 in this case?