Is math use in scripting?
#1

I wonder if math is use in scripting.

Because i saw on LuxAdmin while i'm reviewing it.
It seems like this.

pawn Код:
RX = startX - endX;
    RY = startY - endY;
    RZ = startZ - endZ;
    new Float:sqrt = floatsqroot((RX * RX) + (RY * RY) + (RZ * RZ));
    if (sqrt < 0.01)
        sqrt = 0.01;
    RX = -length * (RX / sqrt) + startX;
    RY = -length * (RY / sqrt) + startY;
    RZ = -length * (RZ / sqrt) + startZ;
on the stock function GetOnLine3D.

What it does means?.

Is Math really use in scripting some how?
Reply


Messages In This Thread
Is math use in scripting? - by JaKe Elite - 15.09.2012, 00:17
Re: Is math use in scripting? - by Slaykler - 15.09.2012, 00:20
Re: Is math use in scripting? - by JaKe Elite - 15.09.2012, 00:24
Re: Is math use in scripting? - by ReneG - 15.09.2012, 03:33
Re: Is math use in scripting? - by Lordzy - 15.09.2012, 03:37
Re: Is math use in scripting? - by trapstar2020 - 15.09.2012, 03:40
Re: Is math use in scripting? - by clarencecuzz - 15.09.2012, 03:50
Re: Is math use in scripting? - by Lordzy - 15.09.2012, 03:51
Re: Is math use in scripting? - by [ABK]Antonio - 15.09.2012, 04:37
Re: Is math use in scripting? - by JaKe Elite - 15.09.2012, 04:40

Forum Jump:


Users browsing this thread: 1 Guest(s)