From 4d993cdc965d09dad36a7f8119c78aed494c7476 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Tue, 20 Jul 2004 20:21:16 +0000 Subject: [PATCH] little comments improvements SVN-Revision: 1605 --- lib/math/vector.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.11.0