Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-03-24 20:40:57 +0000
committerStijn Buys <ingar@osirion.org>2008-03-24 20:40:57 +0000
commit78572764acf68b94b9992f488a725bc4be96a5b3 (patch)
tree03d4c6b55b413b8f147b2b8d62028bca9bf7c6cb /src/math/vector3f.h
parentbd647ce0f411c1a78407762e0a01511694e76e6f (diff)
libmath optimizations and cleanups
Diffstat (limited to 'src/math/vector3f.h')
-rw-r--r--src/math/vector3f.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/math/vector3f.h b/src/math/vector3f.h
index 20e47f2..e94f4c7 100644
--- a/src/math/vector3f.h
+++ b/src/math/vector3f.h
@@ -34,16 +34,22 @@ public:
Vector3f(const Vector3f &other);
/// Create a Vector3f with given coordinates
- /** @param xv the x-coordinate of the location
- * @param yv the y-coordinate of the location
- * @param zv the z-coordinate of the location
+ /** @param x the x-coordinate of the location
+ * @param y the y-coordinate of the location
+ * @param z the z-coordinate of the location
*/
- Vector3f(const float xv, const float yv, const float zv);
+ Vector3f(const float x, const float y, const float z);
/// Destructor
~Vector3f();
/* -- Assignment operators -- */
+ /// assignment
+ void assign(const float x, const float y, const float z);
+
+ /// assignment
+ void assign(Vector3f const & other);
+
/// assignment operator
Vector3f& operator=(const Vector3f &other);