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
David's final changes: more profiler features, fixes.
[ipdf/code.git]
/
src
/
quadtree.h
diff --git
a/src/quadtree.h
b/src/quadtree.h
index
e35da2e
..
9a7b8f9
100644
(file)
--- a/
src/quadtree.h
+++ b/
src/quadtree.h
@@
-42,6
+42,9
@@
namespace IPDF
unsigned object_end;
// Linked list of "extra" nodes
QuadTreeIndex next_overlay;
unsigned object_end;
// Linked list of "extra" nodes
QuadTreeIndex next_overlay;
+ // First object which has not yet been propagated to extant children/parent.
+ unsigned object_dirty;
+ bool render_dirty;
};
struct QuadTree
};
struct QuadTree
@@
-51,6
+54,7
@@
namespace IPDF
std::vector<QuadTreeNode> nodes;
QuadTreeIndex GetNeighbour(QuadTreeIndex start, int xdir, int ydir, Document *doc) const;
std::vector<QuadTreeNode> nodes;
QuadTreeIndex GetNeighbour(QuadTreeIndex start, int xdir, int ydir, Document *doc) const;
+ void GetCanonicalCoords(QuadTreeIndex& start, Real& x, Real& y, Document *doc);
};
};
UCC
git Repository :: git.ucc.asn.au