Distance(2/3)DSquared functions

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Distance(2/3)DSquared functions

Post by Graf Zahl »

Careful! With floating point math there are no more overflow issues that limit a map size to 32768. You can actually use the full 65536 range minus a small safety margin at the edges.
That means the theoretical maximum distance between 2 positions is sqrt(65536² + 65536²) = 92682.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”