summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/transforms/ex_transforms.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/transforms/ex_transforms.c b/examples/transforms/ex_transforms.c
index a3bede7..ccb9a6a 100644
--- a/examples/transforms/ex_transforms.c
+++ b/examples/transforms/ex_transforms.c
@@ -70,7 +70,8 @@ int main() {
render_frame_begin(&core->renderer);
transform_hierarchy_propagate_transforms(transform_tree);
- node1->tf.position.x += 0.002;
+ // TODO: Add setters to transform API
+ node1->tf.position.x += 0.004;
node1->tf.is_dirty = true;
draw_model(&core->renderer, &cam, cube, &node1->world_matrix_tf, &our_scene);
draw_model(&core->renderer, &cam, cube, &node2->world_matrix_tf, &our_scene);