summaryrefslogtreecommitdiff
path: root/examples/transforms/ex_transforms.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/transforms/ex_transforms.c')
-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 0f1752d..383454e 100644
--- a/examples/transforms/ex_transforms.c
+++ b/examples/transforms/ex_transforms.c
@@ -73,7 +73,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_scene(&frame_arena, core->models, &core->renderer, &cam, transform_tree, &our_scene);
// draw_model(&core->renderer, &cam, cube, &node1->world_matrix_tf, &our_scene);