[SOLVED] Issue with face culling

How can i make sure in OpenGL the correct sides of the face are culling

My code to enable culling :


GL11.glEnable(GL11.GL_CULL_FACE);
GL11.glCullFace(GL11.GL_FRONT);

My issue is, is that this works fine for the top, left, right, front and back faces, but the bottom face it culls the wrong side, so the face can be seen when inside the cube not outside.

Quick note : I’m using VBOs so manually using something like this :


GL11.glFrontFace(GL11.GL_CW);

(I think that’s the correct function)

I don’t think would be possible