# HG changeset patch # User Mike Becker # Date 1748781238 -7200 # Node ID 42dcc8134a687922f00c9c87dadfb2dfa3d4b57f # Parent 823626940dc9723465f9265ac5ab51dba9bf52f6 rename parameters of asc_set_rotation() diff -r 823626940dc9 -r 42dcc8134a68 src/ascension/scene_node.h --- a/src/ascension/scene_node.h Sun Jun 01 14:28:30 2025 +0200 +++ b/src/ascension/scene_node.h Sun Jun 01 14:33:58 2025 +0200 @@ -200,10 +200,10 @@ return asc_vec2i_new(node->position.x, node->position.y); } -ASC_TRANFORM_FUNC void asc_set_rotation(AscSceneNode *node, float x, float y, float z) { - node->rotation.x = x; - node->rotation.y = y; - node->rotation.z = z; +ASC_TRANFORM_FUNC void asc_set_rotation(AscSceneNode *node, float pitch, float yaw, float roll) { + node->rotation.pitch = pitch; + node->rotation.yaw = yaw; + node->rotation.roll = roll; asc_clear_flag(node->flags, ASC_SCENE_NODE_CUSTOM_TRANSFORM); asc_node_update_transform(node); }