summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-01 09:06:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-01 09:06:36 +0100
commit3c915f8337b4ec9cc3beeec16c85fe0a364cb9f6 (patch)
treecf827dcd052d32d03dda526b89b3b751b7f54f94
parentb183a06d1f02f7c1adbf50ab3d6b0b41b8db817f (diff)
nix warn
-rw-r--r--opentrack/tracker.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/opentrack/tracker.cpp b/opentrack/tracker.cpp
index 6e26755c..a092a754 100644
--- a/opentrack/tracker.cpp
+++ b/opentrack/tracker.cpp
@@ -62,7 +62,6 @@ static dmat<3, 1> rmat_to_euler(const dmat<3, 3>& R)
// tait-bryan angles, not euler
static dmat<3, 3> euler_to_rmat(const double* input)
{
- static constexpr int x = 1, y = 0, z = 2;
static constexpr double pi = 3.141592653;
const auto H = input[1] * pi / 180;
const auto P = input[0] * pi / 180;