Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/axis.h')
-rw-r--r--src/math/axis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/axis.h b/src/math/axis.h
index 3268d60..5f532c8 100644
--- a/src/math/axis.h
+++ b/src/math/axis.h
@@ -50,7 +50,7 @@ public:
Axis & operator=(const Axis & other);
- Axis operator*(const Axis &other);
+ const Axis operator*(const Axis &other) const;
/// change direction, rotate around up vector (positive is left)
void change_direction(const float angle);
@@ -65,7 +65,7 @@ public:
void rotate(const Vector3f & normal, const float angle);
/// return the transpose of this matrix
- Axis transpose() const;
+ const Axis transpose() const;
private:
Vector3f axis_vector[3];