little comments improvements
authorTobias Gläßer <tobi.web@gmx.de>
Tue, 20 Jul 2004 20:21:16 +0000 (20:21 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Tue, 20 Jul 2004 20:21:16 +0000 (20:21 +0000)
SVN-Revision: 1605

lib/math/vector.h

index b933454..19b1b43 100644 (file)
@@ -20,6 +20,8 @@
 #ifndef SUPERTUX_VECTOR_H
 #define SUPERTUX_VECTOR_H
 
 #ifndef SUPERTUX_VECTOR_H
 #define SUPERTUX_VECTOR_H
 
+/// 2D Vector.
+/** Simple two dimensional vector. */
 class Vector
 {
 public:
 class Vector
 {
 public:
@@ -77,7 +79,7 @@ public:
     return *this;
   }
 
     return *this;
   }
 
-  // scalar product of 2 vectors
+  /// Scalar product of 2 vectors
   float operator*(const Vector& other) const
   {
     return x*other.x + y*other.y;
   float operator*(const Vector& other) const
   {
     return x*other.x + y*other.y;