three.js
three.js copied to clipboard
Add Ray.distanceToPointSquared method
I suggest add the squared version of Ray.distanceToPoint, just like Vector3.distanceTo to Vector3.distanceToSquared, to prevent unwanted computation in some situation.
Not a big problem,I can add it in my project myself though. : )
I actually agree.
Can you create a pull request??
+1