Odin icon indicating copy to clipboard operation
Odin copied to clipboard

raylib.Vector2DistanceSqrt has a misleading name

Open memmaker opened this issue 8 months ago • 1 comments

This function does in fact calculate the squared distance, the original raylib function is called "Vector2DistanceSqr". So the whole idea of this function is to not calculate the square root. However, the new name uses the common abbreviation for this: "sqrt".

memmaker avatar Feb 02 '25 14:02 memmaker