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.cc')
-rw-r--r--src/math/axis.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/axis.cc b/src/math/axis.cc
index f7a1eec..31ba26a 100644
--- a/src/math/axis.cc
+++ b/src/math/axis.cc
@@ -97,7 +97,7 @@ void Axis::rotate(Vector3f const &normal, float angle)
}
}
-Axis Axis::transpose() const
+const Axis Axis::transpose() const
{
Axis t;
@@ -107,7 +107,7 @@ Axis Axis::transpose() const
return t;
}
-Axis Axis::operator*(const Axis &other)
+const Axis Axis::operator*(const Axis &other) const
{
Axis t;
for (size_t i = 0; i < 3; i++)