projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Limit coins to 9999 so the displayed amount is correct.
[supertux.git]
/
src
/
math
/
rect.hpp
diff --git
a/src/math/rect.hpp
b/src/math/rect.hpp
index
79e422a
..
1fd5dcb
100644
(file)
--- a/
src/math/rect.hpp
+++ b/
src/math/rect.hpp
@@
-25,8
+25,8
@@
/** This class represents a rectangle.
* (Implementation Note) We're using upper left and lower right point instead of
/** This class represents a rectangle.
* (Implementation Note) We're using upper left and lower right point instead of
- * upper left and width/height here, because that makes the collision de
c
tection
- * a little bit
efficienter
.
+ * upper left and width/height here, because that makes the collision detection
+ * a little bit
more efficient
.
*/
class Rect
{
*/
class Rect
{
@@
-83,7
+83,7
@@
public:
{
set_width(width);
set_height(height);
{
set_width(width);
set_height(height);
- }
+ }
Vector get_size()
{
return Vector(get_width(), get_height());
Vector get_size()
{
return Vector(get_width(), get_height());
@@
-108,8
+108,8
@@
public:
return true;
}
return true;
}
-
- // leave these
2 public to saf
e the headaches of set/get functions for such
+
+ // leave these
two public to sav
e the headaches of set/get functions for such
// simple things :)
/// upper left edge
// simple things :)
/// upper left edge
@@
-119,4
+119,3
@@
public:
};
#endif
};
#endif
-