summaryrefslogtreecommitdiff
path: root/lib/maths.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-05-02 14:44:31 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-05-02 14:44:31 +0100
commitf2654cf7d46b0e55d288cc48bdd6af872fb021f4 (patch)
treeb3bc31345a2ea16fd6b76b0435247027fab48808 /lib/maths.cpp
parentBump to release GCC version (diff)
downloadilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.tar.bz2
ilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.tar.xz
ilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.zip
Fix warnings produced by new clang-tidy
Diffstat (limited to 'lib/maths.cpp')
-rw-r--r--lib/maths.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/maths.cpp b/lib/maths.cpp
index 26eae47..0298363 100644
--- a/lib/maths.cpp
+++ b/lib/maths.cpp
@@ -148,9 +148,6 @@ float
find_arcs_radius(glm::vec2 start, glm::vec2 ad, glm::vec2 end, glm::vec2 bd)
{
// Short name functions for big forula
- auto sq = [](auto v) {
- return v * v;
- };
auto sqrt = [](float v) {
return std::sqrt(v);
};