summaryrefslogtreecommitdiff
path: root/src/main/Vector3D.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Vector3D.h')
-rw-r--r--src/main/Vector3D.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/Vector3D.h b/src/main/Vector3D.h
index 6d4dfed..979c9a2 100644
--- a/src/main/Vector3D.h
+++ b/src/main/Vector3D.h
@@ -10,7 +10,7 @@
#include <sstream>
#include <math.h>
-#include "exceptions.h"
+#include "exception.h"
#include "Printable.h"
namespace vhc {
@@ -113,7 +113,7 @@ public:
/** Rotation vectorielle. Retourne le vecteur courant, évalué dans la formule en <code>a</code>,
* le vecteur de l'axe, et en <code>t</code>, l'angle de rotation. */
- Vector3D rotate(const Vector3D& axis,const double& t) const {
+ Vector3D rotate(const Vector3D& axis, double t) const {
const Vector3D& x = *this;
const Vector3D& a = ~axis;