Skip to content

Commit

Permalink
Add description to OSC parameter for layers
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Holzmüller committed Sep 12, 2024
1 parent 4e9907a commit aaa3c8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions libtascar/src/osc_scene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ void osc_scene_t::add_face_object_methods(TASCAR::osc_server_t* srv,
srv->add_float("/damping", &(o->damping), "[0,1[", "Damping coefficient");
srv->add_float("/scattering", &(o->scattering), "[0,1]",
"Scattering coefficient");
srv->add_uint("/layers", &(o->layers));
srv->add_uint("/layers", &(o->layers), "",
"Number representing the layers. Each layer is represented by "
"a bit, i.e., for layers 1+3 use 10");
srv->set_prefix(oldpref);
srv->unset_variable_owner();
}
Expand All @@ -257,7 +259,9 @@ void osc_scene_t::add_face_group_methods(TASCAR::osc_server_t* srv,
srv->add_float("/damping", &(o->damping), "[0,1[", "Damping coefficient");
srv->add_float("/scattering", &(o->scattering), "[0,1]",
"Scattering coefficient");
srv->add_uint("/layers", &(o->layers));
srv->add_uint("/layers", &(o->layers), "",
"Number representing the layers. Each layer is represented by "
"a bit, i.e., for layers 1+3 use 10");
srv->set_prefix(oldpref);
srv->unset_variable_owner();
}
Expand Down

0 comments on commit aaa3c8d

Please sign in to comment.