Browse Source

pass by reference

Former-commit-id: d03919d07207a2cc1951bd79d2f6627a136d50e8
Alec Jacobson 11 years ago
parent
commit
0a8871f116
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/RotateWidget.h

+ 1 - 1
include/igl/RotateWidget.h

@@ -238,7 +238,7 @@ inline bool igl::RotateWidget::down(const int x, const int y)
     auto on_meridian = [&](
       const Vector3d & hit, 
       const Quaterniond & rot, 
-      const Quaterniond m,
+      const Quaterniond & m,
       Vector3d & pl_hit) -> bool
     {
       // project onto rotate plane