Skip to content

Commit

Permalink
Merge branch 'master' of github.com:godardma/VIBES into devel_godard
Browse files Browse the repository at this point in the history
  • Loading branch information
godardma committed Oct 3, 2024
2 parents 7768ebd + d2593c9 commit 8dc7a7b
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 87 deletions.
4 changes: 2 additions & 2 deletions client-api/C++/examples/all_commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int main()
"| VIBES C++ API commands test |" "\n"
"-------------------------------" << endl;

VIBES_TEST( vibes::beginDrawing() );
// Not needed anymore: VIBES_TEST( vibes::beginDrawing() );

cout << "Figure creation function" << endl;
VIBES_TEST( vibes::newFigure() );
Expand Down Expand Up @@ -303,7 +303,7 @@ int main()
// vibes::drawRaster("./raster_example.png", 10, 5, 0.1, 0.1);

std::cout << "end drawing" << std::endl;
VIBES_TEST( vibes::endDrawing() );
// Not needed anymore: VIBES_TEST( vibes::endDrawing() );

// Testing Vibes params system
cout << "Testing Vibes params system" << endl;
Expand Down
2 changes: 1 addition & 1 deletion client-api/C++/examples/pong.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ float angle;

int main()
{
vibes::beginDrawing();
// Not needed anymore: vibes::beginDrawing();
initScene();
while(true)
updateScene();
Expand Down
4 changes: 2 additions & 2 deletions client-api/C++/examples/sivia_simple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interval dist(box robot, box landmark)

int main()
{
vibes::beginDrawing(); // <== Initializes the VIBES "connection"
// Not needed anymore: vibes::beginDrawing(); // <== Initializes the VIBES "connection"
vibes::newFigure("SIVIA"); // <== Create a new VIBes figure

box robot(interval(-10,10),interval(-10,10));
Expand Down Expand Up @@ -66,6 +66,6 @@ int main()
}
}

vibes::endDrawing(); // <== closes the VIBES "connection"
// Not needed anymore: vibes::endDrawing(); // <== closes the VIBES "connection"
return 0;
}
Loading

0 comments on commit 8dc7a7b

Please sign in to comment.