Okay, so the algorithm is wrong ? Because if you start from the top-left and draw the tile to the bottom-right, you must increase x and decrease y... Or the opengl axis are inversed ?

The wiki algorithm give map flipped on y (vertical) axis and tile rotated.

` gl.glVertex3f( y, x, nL1);`

gl.glVertex3f( y+1, x, nL2);

gl.glVertex3f(y+0.5f, x+0.5f, L);

If you decrease x and y, tiles aren't rotated, but map still flipped on y.

` gl.glVertex3f( y, x, nL1);`

gl.glVertex3f( y-1, x, nL2);

gl.glVertex3f(y-0.5f, x-0.5f, L);

If you don't inverse y and x, and decrease both, map aren't flipped on y, but tiles are rotated...

` gl.glVertex3f( x, y, nL1);`

gl.glVertex3f( x, y+1, nL2);

gl.glVertex3f(x+0.5f, y+0.5f, L);

I don't understand... If the position is the top-left, and the tile's height are stored like on the wiki (left to right, top to bottom), we should just draw it left to right (positive x) and top to bottom (negative y) no ?

I tried like this and tiles are rotated by 90° and the position isn't on the top-left but in the bottom-left... Like if the y axis was reversed...

I will become crazy.