Skip to content

Commit

Permalink
clean comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Feb 5, 2024
1 parent 5c37b24 commit e952abb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tutorials/Tutorial_301_Drawables/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ using namespace easy3d;
// - create a drawable for a specific rendering purpose;
// - use the viewer to visualize drawables.

#if 1 // use the built-in drawables of Easy3D.
#if 1 // use the built-in drawables of Easy3D.

int main(int argc, char **argv) {
// initialize Easy3D.
Expand Down Expand Up @@ -150,7 +150,7 @@ int main(int argc, char **argv) {
return viewer.run();
}

#elif 1 // use the built-in drawables of Easy3D, but we provide customized update functions
#elif 0 // use the built-in drawables of Easy3D, but we provide customized update functions

int main(int argc, char **argv) {
// initialize Easy3D.
Expand All @@ -161,6 +161,7 @@ int main(int argc, char **argv) {
// Create the default Easy3D viewer.
// Note: a viewer must be created before creating any drawables.
Viewer viewer(EXAMPLE_TITLE);
viewer.set_usage("");

//-------------------------------------------------------------

Expand Down Expand Up @@ -337,7 +338,8 @@ int main(int argc, char **argv) {
// Create the default Easy3D viewer.
// Note: a viewer must be created before creating any drawables.
Viewer viewer(EXAMPLE_TITLE); 301_Drawables");
Viewer viewer(EXAMPLE_TITLE);
viewer.set_usage("");
//-------------------------------------------------------------
Expand Down

0 comments on commit e952abb

Please sign in to comment.