Page 3 of 3

Re: Export as Java

Posted: 21 Aug 2017, 20:12
by JTK222
Have you changed anything inside the renderer Class?

Edit: The rotation point has to be relative to the cube positions @Sphax

Re: Export as Java

Posted: 21 Aug 2017, 21:17
by Geekpower14
Nothing in the renderer class was changed. Just copy/pasted.

Re: Export as Java

Posted: 21 Aug 2017, 22:13
by JTK222
You can fix it by substracting the model position from the rotationPosition for each element. And fix the rotation by adding GL11.glRotatef(1f,0f,0f, 180F); before the render call inside your renderer.