drawing cube with LWJGL

is there(LWJGL) any command that draw cube like glutSolidCube in glut?


This is the command used in open gl for drawing cube

i knew that but i want command that work in java with LWJGL that have no glut

It shouldn’t be too difficult to roll in your own cube function.

yes but when you use glut func you dont have any concern about normalize and texture mapping glut handle it for you …
for example when you draw a teapot with glut and wanna map some texture on it you should only bind your texture before glut function call…