morpho
morpho copied to clipboard
Visitor pattern for Graphics simplified with Multiple Dispatch
This small PR uses the new multiple dispatch functionality to simplify the visitor pattern used in the graphics module, where the graphics primitives are visited by Show
and POVRaytracer
.
All examples tests are passing.
It also updates the run command in the examples.py
file, providing a temporary band-aid for #263 .