summaryrefslogtreecommitdiff
path: root/examples/transforms/ex_transforms.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 17:03:55 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-17 17:03:55 +1100
commit116a44dff58b0175736f4188204c60490e558a9f (patch)
tree57cbc2e61224db346756328c91da93717fe203cd /examples/transforms/ex_transforms.c
parent9ef22d2af0001bbc402454c8d605339ec6a428ae (diff)
parenta757e6ffacb59a0956ded192442c43a813b69313 (diff)
Merge branch 'transform-hierarchy' of github.com:omnisci3nce/celeritas-core into transform-hierarchy
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);