git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
// there is no elegance here. only sleep deprivation and regret.
[ipdf/code.git]
/
src
/
rect.h
diff --git
a/src/rect.h
b/src/rect.h
index
1373c6f
..
46aa5fb
100644
(file)
--- a/
src/rect.h
+++ b/
src/rect.h
@@
-15,7
+15,7
@@
namespace IPDF
{
std::stringstream s;
// float conversion needed because it is fucking impossible to get ostreams working with template classes
- s << "{" << Float(x) << ", " << Float(y) << ", " << Float(
w) << ", " << Float(h) << "
}";
+ s << "{" << Float(x) << ", " << Float(y) << ", " << Float(
x + w) << ", " << Float(y + h) << " (w: " << Float(w) <<", h: " << Float(h) <<")
}";
return s.str();
}
inline bool PointIn(Real pt_x, Real pt_y) const
UCC
git Repository :: git.ucc.asn.au