• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Rounding float to make it divisible by specified value.
#8
(2019-04-15, 09:39 AM)BigETI Wrote: grid position = X: floor(position x / grid size x); Y: floor(position y / grid size y)



Had to reread it a few times haha, but?this is indeed what I need. Thanks!
  Reply


Messages In This Thread
RE: Rounding float to make it divisible by specified value. - by Xray - 2019-04-15, 07:45 PM

Forum Jump: