summaryrefslogtreecommitdiffhomepage
path: root/opentrack/simple-mat.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-08-18 05:50:15 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-08-18 05:50:15 +0200
commitdfc157dfba05985caa963ccb22240e238133e066 (patch)
treea646b5b4c314814ce4890249f142c8b1332869fb /opentrack/simple-mat.hpp
parent0d4899cc4ad3c77c09fa97dbab99d3e975b0cab3 (diff)
simple-mat: don't inline so much
Diffstat (limited to 'opentrack/simple-mat.hpp')
-rwxr-xr-xopentrack/simple-mat.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack/simple-mat.hpp b/opentrack/simple-mat.hpp
index 49bf4feb..af23d01e 100755
--- a/opentrack/simple-mat.hpp
+++ b/opentrack/simple-mat.hpp
@@ -89,7 +89,7 @@ struct Mat
template<int R, int S, int P = h_, int Q = w_>
typename std::enable_if<is_vector_pair<R, S, P, Q>::value, num>::type
- __inline dot(const Mat<num, R, S>& p2) const {
+ dot(const Mat<num, R, S>& p2) const {
num ret = 0;
constexpr int len = vector_len<R, S>::value;
for (int i = 0; i < len; i++)
@@ -99,7 +99,7 @@ struct Mat
template<int R, int S, int P = h_, int Q = w_>
typename std::enable_if<is_dim3<P, Q, R, S>::value, Mat<num, is_dim3<P, Q, R, S>::P, is_dim3<P, Q, R, S>::Q>>::type
- __inline cross(const Mat<num, R, S>& p2) const
+ cross(const Mat<num, R, S>& p2) const
{
return Mat<num, R, S>({y() * p2.z() - p2.y() * z(),
p2.x() * z() - x() * p2.z(),