Merge should not throw exception but return Result type identifying the issue occured.
Move it into seperated .cpp file.
x
, y
, z
and w
should be private and getters and setters shouls be made! defaultValue
value will not have to exist as long as now. Currently, it does, and it saves space, becuase for every e.g. Group node, all default values for every such node are in the scene graph the same. That is possible, because the tree is read-only. defaultNode
does not make sense here, as default value should be just NULL - or just an empty node