Camera classes refactored to use inheritance properly. Now have a Camera class with all the common functions. Subclasses PinholeCamera and VectorCamera just implement __init__() and two pixel functions. This sort of layout should make it much easier to add cameras in future.
Camera classes refactored to use inheritance properly. Now have a Camera class with all the common functions. Subclasses PinholeCamera and VectorCamera just implement __init__() and two pixel functions. This sort of layout should make it much easier to add cameras in future.

raysect/source,raysect/source