• Patrik Huber's avatar
    Changed OrthographicRenderingParameters to RenderingParameters and added a camera type · 97fa8725
    Patrik Huber authored
    I don't think we need two representations for it, one struct with a type is easier. At the moment, we only use an orthographic camera anyway.
    
    - As before, it should contain all the parameters necessary to render an image using OpenGL, and conform to the OpenGL conventions
    - Updated all calling sites
    - Added serialisation
    - Added a convenience method to save the parameters to a json file
    97fa8725
fit-model.cpp 7.83 KB