struct mola::MolaVizImGuiCore::CameraState

Overview

Orbit camera of a 3D view, as set by the VizInterface camera methods (applied on the next frame if dirty) and read back after the user moves it with the mouse.

#include <MolaVizImGuiCore.h>

struct CameraState
{
    // fields

    float azimuth_deg = 110.0f;
    float elevation_deg = 15.0f;
    float zoom = 20.0f;
    float look_at[3] = {0.0f, 0.0f, 0.0f};
    bool orthographic = false;
    bool dirty = true;
};