animation test
This commit is contained in:
parent
aaa50e6a28
commit
4c65103fd6
|
@ -93,6 +93,11 @@ void handleInputs(double deltaTime) {
|
|||
cameraPosition.y -= deltaTime * 10;
|
||||
}
|
||||
|
||||
if (glfwGetKey(window, GLFW_KEY_X) == GLFW_PRESS) {
|
||||
SceneNode* chalkboard = findNodeByName("myChalkboard1", SceneNode* root);
|
||||
chalkboard->transformation[3][1] += 0.1f; // Erhöht die Y-Position
|
||||
}
|
||||
|
||||
if (glfwGetKey(window, GLFW_KEY_L) == GLFW_PRESS) {
|
||||
objectPosition.x += deltaTime * 10;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue