diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
commit | 25bcd92706ce2cd6aee24cfb81e9ff2fd7dd4820 (patch) | |
tree | 19e71f817ffc36247f4db718454f3634904284b0 /src/math/axis.cc | |
parent | a2ae048571310e80ba7502f1d81b5dd2eb1e38fa (diff) |
misc_model support
Diffstat (limited to 'src/math/axis.cc')
-rw-r--r-- | src/math/axis.cc | 4 |
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++) |