diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-17 16:03:20 +1100 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-17 16:03:20 +1100 |
commit | 23432fa4b1e4503f6ce7264f1a64fbb9bb42ac3d (patch) | |
tree | 933c6dd2c5e5624dcd4d73588555426918cbd3ce /examples/transforms/ex_transforms.c | |
parent | 8c331ac497d6e6705cde5e292538d4ab7d9a16ec (diff) |
comment
Diffstat (limited to 'examples/transforms/ex_transforms.c')
-rw-r--r-- | examples/transforms/ex_transforms.c | 3 |
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); |