Math help
#6

Thanks guys. It works.

@Nero_3D

This is what I ended up with:
pawn Код:
posX = ((x / (6000.0 / 320.0)) + 320.0);
    posY = ((y / -(6000.0 / 320.0)) + 270.0);
The map is 320 x 320, not 360. That was a typo in my last post, sorry.
Reply


Messages In This Thread
Math help - by Psymetrix - 17.05.2012, 19:59
Re: Math help - by MP2 - 17.05.2012, 20:32
Re: Math help - by Psymetrix - 18.05.2012, 12:02
Re: Math help - by Psymetrix - 18.05.2012, 12:49
AW: Re: Math help - by Nero_3D - 18.05.2012, 12:59
Re: Math help - by Psymetrix - 18.05.2012, 14:13
Re: Math help - by Psymetrix - 18.05.2012, 14:36

Forum Jump:


Users browsing this thread: 1 Guest(s)