Open
Description
in the same manner as Handlers
Other ideas/suggestions?
I think we don't need geometry objects, but it might be usable in future for DOM handling.
I would convert present long if-else into calls for static methods of proper classes:
} else if (strcmp(n.name(), "OffgridSphere") == 0) {
/// a lot of code
to
} else if (strcmp(n.name(), "OffgridSphere") == 0) {
OffgridSphere::Render(args)
or even
} else if ( OffgridSphere::IsThisMe(n) ) {
OffgridSphere::Render(args)