diff options
Diffstat (limited to 'src/math/vector3f.h')
-rw-r--r-- | src/math/vector3f.h | 14 |
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); |