get closest point?
#3

whats pointtopoint? this?

pawn Код:
stock Float:GetDistanceBetweenPoints(Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2)
{
    x1 -= x2;
    y1 -= y2;
    z1 -= z2;
    return floatsqroot((x1 * x1) + (y1 * y1) + (z1 * z1));
}
btw i want to return the x and y of the closest point
Reply


Messages In This Thread
get closest point? - by The_Gangstas - 11.12.2010, 16:37
Re: get closest point? - by Mauzen - 11.12.2010, 17:44
Re: get closest point? - by The_Gangstas - 11.12.2010, 17:48
Re: get closest point? - by Mauzen - 11.12.2010, 17:54
Re: get closest point? - by The_Gangstas - 11.12.2010, 18:00
Re: get closest point? - by Mauzen - 11.12.2010, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)