projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
450c450
)
little comments improvements
author
Tobias Gläßer
<tobi.web@gmx.de>
Tue, 20 Jul 2004 20:21:16 +0000
(20:21 +0000)
committer
Tobias Gläßer
<tobi.web@gmx.de>
Tue, 20 Jul 2004 20:21:16 +0000
(20:21 +0000)
SVN-Revision: 1605
lib/math/vector.h
patch
|
blob
|
history
diff --git
a/lib/math/vector.h
b/lib/math/vector.h
index
b933454
..
19b1b43
100644
(file)
--- 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;
}
- //
s
calar product of 2 vectors
+ //
/ S
calar product of 2 vectors
float operator*(const Vector& other) const
{
return x*other.x + y*other.y;