From 65e419d89c34443094c2a77a80a89dd4f87a9458 Mon Sep 17 00:00:00 2001 From: Liangliang Nan Date: Tue, 11 Jun 2024 15:17:40 +0200 Subject: [PATCH] clean --- easy3d/viewer/viewer.cpp | 1 - easy3d/viewer/viewer.h | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/easy3d/viewer/viewer.cpp b/easy3d/viewer/viewer.cpp index dc673064..8bd56b20 100644 --- a/easy3d/viewer/viewer.cpp +++ b/easy3d/viewer/viewer.cpp @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include diff --git a/easy3d/viewer/viewer.h b/easy3d/viewer/viewer.h index b0eb8d91..02b6d31a 100644 --- a/easy3d/viewer/viewer.h +++ b/easy3d/viewer/viewer.h @@ -228,8 +228,8 @@ namespace easy3d { virtual Model* add_model(const std::string& file_name, bool create_default_drawables = true); /** - * @brief Add an existing model to the viewer to be visualized. If the model has been successfully - * added to the viewer, the viewer will be in charge of its memory management. + * @brief Add an existing model to the viewer to be visualized. On success, the viewer will + * be in charge of the memory management of the model. * @details This method adds a model into the viewer. It allows the user to control if * default drawables will be created. The default drawables are * - for point clouds: "vertices". @@ -277,8 +277,8 @@ namespace easy3d { //@{ /** - * @brief Add a drawable to the viewer to be visualized. After a drawable being added to the - * viewer, the viewer will be in charge of its memory management. + * @brief Add a drawable to the viewer to be visualized. On success, the viewer will be in + * charge of the memory management of the drawable * @details The use of drawables for visualization is quite flexible. Drawables are * typically created for rendering 3D models (e.g., point clouds, meshes, graphs) * and a 3D model is usually loaded from a file or generated by an algorithm. This