Update of /cvsroot/super-tux/supertux/lib/math
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21383/lib/math
Modified Files:
vector.h
Log Message:
little comments improvements
Index: vector.h
===================================================================
RCS file: /cvsroot/super-tux/supertux/lib/math/vector.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- vector.h 20 Jul 2004 17:51:36 -0000 1.1
+++ vector.h 20 Jul 2004 20:21:16 -0000 1.2
@@ -20,6 +20,8 @@
#ifndef SUPERTUX_VECTOR_H
#define SUPERTUX_VECTOR_H
+/// 2D Vector.
+/** Simple two dimensional vector. */
class Vector
{
public:
@@ -77,7 +79,7 @@
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;
|