From 7e13fb0a05e7a05cb41d2edfa922575b60854645 Mon Sep 17 00:00:00 2001 From: kallaballa Date: Tue, 11 Apr 2023 01:49:51 +0200 Subject: [PATCH] refactoring, renaming and commenting --- modules/viz2d/samples/cpp/Doxyfile | 2 +- modules/viz2d/samples/cpp/font/font-demo.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/viz2d/samples/cpp/Doxyfile b/modules/viz2d/samples/cpp/Doxyfile index 8f5edd9c3..2e343b2a9 100644 --- a/modules/viz2d/samples/cpp/Doxyfile +++ b/modules/viz2d/samples/cpp/Doxyfile @@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = "A 2D visualization module with CL-interop capabilities and a GUI based on NanoGUI" +PROJECT_NAME = "A visualization module with vector graphics, a GUI system and CL-interop capabilities" # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version diff --git a/modules/viz2d/samples/cpp/font/font-demo.cpp b/modules/viz2d/samples/cpp/font/font-demo.cpp index 45c3dc01e..395931832 100644 --- a/modules/viz2d/samples/cpp/font/font-demo.cpp +++ b/modules/viz2d/samples/cpp/font/font-demo.cpp @@ -223,10 +223,10 @@ int main(int argc, char **argv) { lines.push_back(line); } - #ifndef __EMSCRIPTEN__ +#ifndef __EMSCRIPTEN__ Sink sink = makeWriterSink(OUTPUT_FILENAME, cv::VideoWriter::fourcc('V', 'P', '9', '0'), FPS, cv::Size(WIDTH, HEIGHT)); v2d->setSink(sink); - #endif +#endif v2d->run(iteration); } catch(std::exception& ex) {