Skip to content

Commit

Permalink
one more hint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschmann committed Jun 28, 2024
1 parent 9c2da0b commit 2386a85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/my_pendulum/operations_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace rl_tools{
template <typename DEVICE, typename SPEC>
std::string get_ui(DEVICE& device, MyPendulum<SPEC>& env){
// just the body of `function render(ctx, state, action) {` (so that it can be easily processed by `new Function("ctx", "state", "action", body)`
// Please have a look at https://studio.rl.tools which helps you create render functions interactively
std::string ui = R"RL_TOOLS_LITERAL(
ctx.clearRect(0, 0, ctx.canvas.width, ctx.canvas.height);
Expand Down

0 comments on commit 2386a85

Please sign in to comment.