Hi, I am new to bullet and LWJGL, and have boxes that fall down onto the ground.
I am setting the transform for the boxes with:
GL11.glLoadIdentity();
ByteBuffer temp = ByteBuffer.allocateDirect(64);
temp.order(ByteOrder.nativeOrder());
GL11.glMultMatrix((FloatBuffer)temp.asFloatBuffer().put(m).flip());
DrawBox(1,1,1);
Where m is the 4x4 matrix of a box.
Is there a faster way to do this? or is it fine? I have no idea of any other way to do it.
Thanks,
roland
I will fix