In the following LWJGL JAVA code:
if (window.isKeyPressed(GLFW_KEY_U)) {
Y += .3;
// x,y,z
camera.setPosition(0, 0, -5);
camera.setRotation(0, Y, 0);
}
How can I place a model at (0 , 0 , -2) that doesn't rotate, or equivalent.
Thanks,
Josheir
In the following LWJGL JAVA code:
if (window.isKeyPressed(GLFW_KEY_U)) {
Y += .3;
// x,y,z
camera.setPosition(0, 0, -5);
camera.setRotation(0, Y, 0);
}
How can I place a model at (0 , 0 , -2) that doesn't rotate, or equivalent.
Thanks,
Josheir