Feature/double#281
Conversation
Cpp-Linter Report
|
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 6cbb7d2..6724be6 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -42 +42 @@ namespace molvis {
-dmat4 boundingBox(const MolecularStructure& structure) {
+dmat4 boundingBoxstatic(const MolecularStructure& structure) {
@@ -71 +71 @@ template <typename const_iterator>
-dmat4 boundingBox(const_iterator begin, const_iterator end) {
+dmat4 boundingBoxstatic(const_iterator begin, const_iterator end) {
@@ -74,2 +74,2 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
- dvec3 worldMin(std::numeric_limits<float>::max());
- dvec3 worldMax(std::numeric_limits<float>::lowest());
+ dvec3 worldMinstatic(std::numeric_limits<float>::max());
+ dvec3 worldMaxstatic(std::numeric_limits<float>::lowest());
@@ -101 +101 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(const MolecularStructureInport& structure) {
@@ -111 +111,2 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureMultiInport& structures) {
@@ -121 +122 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiI
-std::function<std::optional<dmat4>()> boundingBox(
+std::function<std::optional<dmat4>()> boundingBoxstatic(
@@ -132 +133,2 @@ std::function<std::optional<dmat4>()> boundingBox(
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureOutport& structure) {
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 6cbb7d2..6724be6 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -42 +42 @@ namespace molvis {
-dmat4 boundingBox(const MolecularStructure& structure) {
+dmat4 boundingBoxstatic(const MolecularStructure& structure) {
@@ -71 +71 @@ template <typename const_iterator>
-dmat4 boundingBox(const_iterator begin, const_iterator end) {
+dmat4 boundingBoxstatic(const_iterator begin, const_iterator end) {
@@ -74,2 +74,2 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
- dvec3 worldMin(std::numeric_limits<float>::max());
- dvec3 worldMax(std::numeric_limits<float>::lowest());
+ dvec3 worldMinstatic(std::numeric_limits<float>::max());
+ dvec3 worldMaxstatic(std::numeric_limits<float>::lowest());
@@ -101 +101 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(const MolecularStructureInport& structure) {
@@ -111 +111,2 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureMultiInport& structures) {
@@ -121 +122 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiI
-std::function<std::optional<dmat4>()> boundingBox(
+std::function<std::optional<dmat4>()> boundingBoxstatic(
@@ -132 +133,2 @@ std::function<std::optional<dmat4>()> boundingBox(
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureOutport& structure) {
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 6cbb7d2..6724be6 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -42 +42 @@ namespace molvis {
-dmat4 boundingBox(const MolecularStructure& structure) {
+dmat4 boundingBoxstatic(const MolecularStructure& structure) {
@@ -71 +71 @@ template <typename const_iterator>
-dmat4 boundingBox(const_iterator begin, const_iterator end) {
+dmat4 boundingBoxstatic(const_iterator begin, const_iterator end) {
@@ -74,2 +74,2 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
- dvec3 worldMin(std::numeric_limits<float>::max());
- dvec3 worldMax(std::numeric_limits<float>::lowest());
+ dvec3 worldMinstatic(std::numeric_limits<float>::max());
+ dvec3 worldMaxstatic(std::numeric_limits<float>::lowest());
@@ -101 +101 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(const MolecularStructureInport& structure) {
@@ -111 +111,2 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureMultiInport& structures) {
@@ -121 +122 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiI
-std::function<std::optional<dmat4>()> boundingBox(
+std::function<std::optional<dmat4>()> boundingBoxstatic(
@@ -132 +133,2 @@ std::function<std::optional<dmat4>()> boundingBox(
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureOutport& structure) {
Have any feedback or feature suggestions? Share it here.
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 6cbb7d2..6724be6 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -42 +42 @@ namespace molvis {
-dmat4 boundingBox(const MolecularStructure& structure) {
+dmat4 boundingBoxstatic(const MolecularStructure& structure) {
@@ -71 +71 @@ template <typename const_iterator>
-dmat4 boundingBox(const_iterator begin, const_iterator end) {
+dmat4 boundingBoxstatic(const_iterator begin, const_iterator end) {
@@ -74,2 +74,2 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
- dvec3 worldMin(std::numeric_limits<float>::max());
- dvec3 worldMax(std::numeric_limits<float>::lowest());
+ dvec3 worldMinstatic(std::numeric_limits<float>::max());
+ dvec3 worldMaxstatic(std::numeric_limits<float>::lowest());
@@ -101 +101 @@ dmat4 boundingBox(const_iterator begin, const_iterator end) {
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(const MolecularStructureInport& structure) {
@@ -111 +111,2 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureMultiInport& structures) {
@@ -121 +122 @@ std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiI
-std::function<std::optional<dmat4>()> boundingBox(
+std::function<std::optional<dmat4>()> boundingBoxstatic(
@@ -132 +133,2 @@ std::function<std::optional<dmat4>()> boundingBox(
-std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) {
+std::function<std::optional<dmat4>()> boundingBoxstatic(
+ const MolecularStructureOutport& structure) {
Have any feedback or feature suggestions? Share it here.
| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| dmat4 boundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| dmat4 boundingBox(const MolecularStructure& structure) { | |
| dmat4 boundingBoxstatic(const MolecularStructure& structure) { |
| template <typename const_iterator> | ||
| mat4 boundingBox(const_iterator begin, const_iterator end) { | ||
| if (begin == end) return mat4(0.0f); | ||
| dmat4 boundingBox(const_iterator begin, const_iterator end) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| dmat4 boundingBox(const_iterator begin, const_iterator end) { | |
| dmat4 boundingBoxstatic(const_iterator begin, const_iterator end) { |
| dvec3 worldMin(std::numeric_limits<float>::max()); | ||
| dvec3 worldMax(std::numeric_limits<float>::lowest()); |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'worldMin' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
- function 'worldMax' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| dvec3 worldMin(std::numeric_limits<float>::max()); | |
| dvec3 worldMax(std::numeric_limits<float>::lowest()); | |
| dvec3 worldMinstatic(std::numeric_limits<float>::max()); | |
| dvec3 worldMaxstatic(std::numeric_limits<float>::lowest()); |
| } | ||
|
|
||
| std::function<std::optional<mat4>()> boundingBox(const MolecularStructureInport& structure) { | ||
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureInport& structure) { | |
| std::function<std::optional<dmat4>()> boundingBoxstatic(const MolecularStructureInport& structure) { |
| } | ||
|
|
||
| std::function<std::optional<mat4>()> boundingBox(const MolecularStructureMultiInport& structures) { | ||
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureMultiInport& structures) { | |
| std::function<std::optional<dmat4>()> boundingBoxstatic( | |
| const MolecularStructureMultiInport& structures) { |
| } | ||
|
|
||
| std::function<std::optional<mat4>()> boundingBox( | ||
| std::function<std::optional<dmat4>()> boundingBox( |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::function<std::optional<dmat4>()> boundingBox( | |
| std::function<std::optional<dmat4>()> boundingBoxstatic( |
| } | ||
|
|
||
| std::function<std::optional<mat4>()> boundingBox(const MolecularStructureOutport& structure) { | ||
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'boundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::function<std::optional<dmat4>()> boundingBox(const MolecularStructureOutport& structure) { | |
| std::function<std::optional<dmat4>()> boundingBoxstatic( | |
| const MolecularStructureOutport& structure) { |
Error: vcpkg_installed/x64-linux-dynamic/include/nanovg_gl.h:451:20: error: no match for ‘operator!=’ (operand types are ‘gl::GLint’ {aka ‘int’} and ‘const gl::GLboolean’ {aka ‘const glbinding::Boolean8’})
451 | if (status != GL_TRUE) {
| ~~~~~~ ^~ ~~~~~~~
| | |
| | const gl::GLboolean {aka const glbinding::Boolean8}
| gl::GLint {aka int}
There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 8e3d29e..11476ea 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -44 +44 @@ namespace molvis {
-std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) {
+std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) {
Have any feedback or feature suggestions? Share it here.
| @@ -29,6 +29,8 @@ | |||
|
|
|||
| #include <inviwo/nanovgpy/nanovgpymodule.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
misc/nanovgpy/src/nanovgpymodule.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/nanovgpy/nanovgpymodule.h' file not found
30 | #include <inviwo/nanovgpy/nanovgpymodule.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'calcBoundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { | |
| std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) { |
| @@ -30,16 +30,18 @@ | |||
| #include <inviwo/molvisbase/algorithm/boundingbox.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
molvis/molvisbase/src/algorithm/boundingbox.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/molvisbase/algorithm/boundingbox.h' file not found
30 | #include <inviwo/molvisbase/algorithm/boundingbox.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 8e3d29e..11476ea 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -44 +44 @@ namespace molvis {
-std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) {
+std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) {
Have any feedback or feature suggestions? Share it here.
| @@ -29,6 +29,8 @@ | |||
|
|
|||
| #include <inviwo/nanovgpy/nanovgpymodule.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
misc/nanovgpy/src/nanovgpymodule.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/nanovgpy/nanovgpymodule.h' file not found
30 | #include <inviwo/nanovgpy/nanovgpymodule.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'calcBoundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { | |
| std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) { |
| @@ -30,16 +30,18 @@ | |||
| #include <inviwo/molvisbase/algorithm/boundingbox.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
molvis/molvisbase/src/algorithm/boundingbox.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/molvisbase/algorithm/boundingbox.h' file not found
30 | #include <inviwo/molvisbase/algorithm/boundingbox.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 8e3d29e..11476ea 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -44 +44 @@ namespace molvis {
-std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) {
+std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) {
Have any feedback or feature suggestions? Share it here.
| @@ -29,6 +29,8 @@ | |||
|
|
|||
| #include <inviwo/nanovgpy/nanovgpymodule.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
misc/nanovgpy/src/nanovgpymodule.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/nanovgpy/nanovgpymodule.h' file not found
30 | #include <inviwo/nanovgpy/nanovgpymodule.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'calcBoundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { | |
| std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) { |
| @@ -30,16 +30,18 @@ | |||
| #include <inviwo/molvisbase/algorithm/boundingbox.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
molvis/molvisbase/src/algorithm/boundingbox.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/molvisbase/algorithm/boundingbox.h' file not found
30 | #include <inviwo/molvisbase/algorithm/boundingbox.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 8e3d29e..11476ea 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -44 +44 @@ namespace molvis {
-std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) {
+std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) {
Have any feedback or feature suggestions? Share it here.
| @@ -29,6 +29,8 @@ | |||
|
|
|||
| #include <inviwo/nanovgpy/nanovgpymodule.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
misc/nanovgpy/src/nanovgpymodule.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/nanovgpy/nanovgpymodule.h' file not found
30 | #include <inviwo/nanovgpy/nanovgpymodule.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'calcBoundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { | |
| std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) { |
| @@ -30,16 +30,18 @@ | |||
| #include <inviwo/molvisbase/algorithm/boundingbox.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
molvis/molvisbase/src/algorithm/boundingbox.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/molvisbase/algorithm/boundingbox.h' file not found
30 | #include <inviwo/molvisbase/algorithm/boundingbox.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~There was a problem hiding this comment.
Cpp-linter Review
Used clang-tidy v19.1.1
Click here for the full clang-tidy patch
diff --git a/molvis/molvisbase/src/algorithm/boundingbox.cpp b/molvis/molvisbase/src/algorithm/boundingbox.cpp
index 8e3d29e..11476ea 100644
--- a/molvis/molvisbase/src/algorithm/boundingbox.cpp
+++ b/molvis/molvisbase/src/algorithm/boundingbox.cpp
@@ -44 +44 @@ namespace molvis {
-std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) {
+std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) {
Have any feedback or feature suggestions? Share it here.
| @@ -29,6 +29,8 @@ | |||
|
|
|||
| #include <inviwo/nanovgpy/nanovgpymodule.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
misc/nanovgpy/src/nanovgpymodule.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/nanovgpy/nanovgpymodule.h' file not found
30 | #include <inviwo/nanovgpy/nanovgpymodule.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| namespace molvis { | ||
|
|
||
| mat4 boundingBox(const MolecularStructure& structure) { | ||
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { |
There was a problem hiding this comment.
clang-tidy diagnostics
- function 'calcBoundingBox' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]
| std::optional<dmat4> calcBoundingBox(const MolecularStructure& structure) { | |
| std::optional<dmat4> calcBoundingBoxstatic(const MolecularStructure& structure) { |
| @@ -30,16 +30,18 @@ | |||
| #include <inviwo/molvisbase/algorithm/boundingbox.h> | |||
There was a problem hiding this comment.
clang-tidy diagnostic
molvis/molvisbase/src/algorithm/boundingbox.cpp:30:10: error: [clang-diagnostic-error]
'inviwo/molvisbase/algorithm/boundingbox.h' file not found
30 | #include <inviwo/molvisbase/algorithm/boundingbox.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
No description provided.