you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 11 months ago (1 child)

But in top down 2D games you also use X and Y but now neither is up

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 11 months ago

    True but I think it’s also because of screen coordinates, Y is always the vertical axis in screen coordinates. So programmers translated that to 3D coordinates because in real world space the screen doesn’t lie flat but is up right. It’s probably why Y is up in OpenGL and calls the depth buffer the Z-Buffer.

  • source
  • parent