Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 948 vs 949 for /trunk/Source Code/Graphs/Headers/SceneGraph.h

Diff revisions: vs.
  @@ -84,7 +84,8 @@
84 84 void intersect(const Ray& ray, F32 start, F32 end,
85 85 vectorImpl<SceneGraphNode_cwptr>& selectionHits) const;
86 86
87 - void deleteNode(SceneGraphNode_wptr node, bool deleteOnAdd);
87 + void removeNode(SceneGraphNode_wptr node, bool deferrRemoval);
88 + void removeNodesByType(SceneNodeType nodeType);
88 89
89 90 void onCameraUpdate(const Camera& camera);
90 91 void onCameraChange(const Camera& camera);
  @@ -112,7 +113,7 @@
112 113 std::shared_ptr<Octree> _octree;
113 114 std::atomic_bool _octreeUpdating;
114 115 vectorImpl<SceneGraphNode_wptr> _allNodes;
115 - vectorImpl<SceneGraphNode_wptr> _pendingDeletionNodes;
116 + vectorImpl<SceneGraphNode_wptr> _pendingRemovalNodes;
116 117 vectorImpl<SceneGraphNode*> _orderedNodeList;
117 118
118 119 std::array<vectorImpl<SceneGraphNode_wptr>, to_base(SceneNodeType::COUNT)> _nodesByType;