From: Tobias Gläßer Date: Tue, 20 Jul 2004 20:21:16 +0000 (+0000) Subject: little comments improvements X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4d993cdc965d09dad36a7f8119c78aed494c7476;p=supertux.git little comments improvements SVN-Revision: 1605 --- diff --git a/lib/math/vector.h b/lib/math/vector.h index b93345445..19b1b4373 100644 --- a/lib/math/vector.h +++ b/lib/math/vector.h @@ -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 @@ public: 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;