pointtopoint()
#2

There are loads of them, i prefer using a fast plugin-based.
But this one should do its job too

pawn Код:
stock Float:PointToPoint(Float:x, Float:y, Float:z, Float:xx, Float:yy, Float:zz)
{
    return floatsqroot( (x - xx) * (x - xx) + (y - yy) * (y - yy) + (z - zz) * (z - zz) );
}
(untested)
Reply


Messages In This Thread
pointtopoint() - by legodude - 06.11.2010, 16:58
Re: pointtopoint() - by Mauzen - 06.11.2010, 17:04
Re: pointtopoint() - by legodude - 06.11.2010, 17:56
Re: pointtopoint() - by DeathOnaStick - 06.11.2010, 18:35
Re: pointtopoint() - by legodude - 06.11.2010, 19:09

Forum Jump:


Users browsing this thread: 3 Guest(s)