Hi,
i'm working on a point-in-polygon test. my current implementation has a list
with plain pointers that hold references to the polygons' properties. (i use
them to ease the calculating of an inside-result for that polygons)
Code:
class FetchedPolygon {
public:
Christian Sam wrote:
i think if i use smart-pointers, i would be able to check if the actual
polygons in the scenegraph are still valid (check the ref counter) without
the need of a dirty flag.
but if the polygons get changed/deleted (e.g. when i want to load a new set
of polygon
2 matches
Mail list logo