aboutsummaryrefslogtreecommitdiff
path: root/apps/systemlib/math/Vector3.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/systemlib/math/Vector3.hpp')
-rw-r--r--apps/systemlib/math/Vector3.hpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/apps/systemlib/math/Vector3.hpp b/apps/systemlib/math/Vector3.hpp
index 48dfd5b22..8c36ac134 100644
--- a/apps/systemlib/math/Vector3.hpp
+++ b/apps/systemlib/math/Vector3.hpp
@@ -45,25 +45,25 @@ namespace math
{
class __EXPORT Vector3 :
- public Vector
+ public Vector
{
public:
- Vector3();
- Vector3(const Vector & right);
- Vector3(float x, float y, float z);
- Vector3(const float * data);
- virtual ~Vector3();
- Vector3 cross(const Vector3 & b);
+ Vector3();
+ Vector3(const Vector &right);
+ Vector3(float x, float y, float z);
+ Vector3(const float *data);
+ virtual ~Vector3();
+ Vector3 cross(const Vector3 &b);
- /**
- * accessors
- */
- void setX(float x) { (*this)(0) = x; }
- void setY(float y) { (*this)(1) = y; }
- void setZ(float z) { (*this)(2) = z; }
- const float & getX() const { return (*this)(0); }
- const float & getY() const { return (*this)(1); }
- const float & getZ() const { return (*this)(2); }
+ /**
+ * accessors
+ */
+ void setX(float x) { (*this)(0) = x; }
+ void setY(float y) { (*this)(1) = y; }
+ void setZ(float z) { (*this)(2) = z; }
+ const float &getX() const { return (*this)(0); }
+ const float &getY() const { return (*this)(1); }
+ const float &getZ() const { return (*this)(2); }
};
int __EXPORT vector3Test();