aboutsummaryrefslogtreecommitdiff
path: root/src/modules/mathlib/math/Vector3.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/mathlib/math/Vector3.hpp')
-rw-r--r--src/modules/mathlib/math/Vector3.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/modules/mathlib/math/Vector3.hpp b/src/modules/mathlib/math/Vector3.hpp
index 8c36ac134..568d9669a 100644
--- a/src/modules/mathlib/math/Vector3.hpp
+++ b/src/modules/mathlib/math/Vector3.hpp
@@ -53,7 +53,7 @@ public:
Vector3(float x, float y, float z);
Vector3(const float *data);
virtual ~Vector3();
- Vector3 cross(const Vector3 &b);
+ Vector3 cross(const Vector3 &b) const;
/**
* accessors
@@ -65,6 +65,11 @@ public:
const float &getY() const { return (*this)(1); }
const float &getZ() const { return (*this)(2); }
};
+
+class __EXPORT Vector3f :
+ public Vector3
+{
+};
int __EXPORT vector3Test();
} // math