Fix bug in Ray::HitDistance functions for geometry. (#2863)
Fix bug in Ray::HitDistance functions for geometry. (#2863)

* Fix bug in Ray::HitDistance functions which may return incorrect normal and UV when encountering multiple geometry triangle hits.

* Avoids using underscores at end of local variable names, to avoid confusion with class member variables.

* Update Ray.cpp

Co-authored-by: Chris Denham <7aa2e8da0e4aac39d529efc792861aa33110f2c6@logicom.com>
Co-authored-by: 1vanK <b70d863223b749c7a9205bd47925fddc58cf0bd4@users.noreply.github.com>
PredatorMF/Urho3D,bacsmar/Urho3D,PredatorMF/Urho3D,eugeneko/Urho3D,urho3d/Urho3D,bacsmar/Urho3D,urho3d/Urho3D,eugeneko/Urho3D,PredatorMF/Urho3D,orefkov/Urho3D,urho3d/Urho3D,orefkov/Urho3D,eugeneko/Urho3D,eugeneko/Urho3D,orefkov/Urho3D,urho3d/Urho3D,bacsmar/Urho3D,PredatorMF/Urho3D,bacsmar/Urho3D,orefkov/Urho3D