KiCad PCB EDA Suite
|
#include "panel_preview_3d_model.h"
#include <dialogs/dialog_unit_entry.h>
#include <3d_canvas/eda_3d_canvas.h>
#include <tool/tool_manager.h>
#include <tool/tool_dispatcher.h>
#include <tools/eda_3d_actions.h>
#include <tools/eda_3d_controller.h>
#include <base_units.h>
#include <bitmaps.h>
#include <board.h>
#include <common_ogl/ogl_attr_list.h>
#include <dpi_scaling_common.h>
#include <lset.h>
#include <pgm_base.h>
#include <project_pcb.h>
#include <settings/common_settings.h>
#include <settings/settings_manager.h>
#include <widgets/wx_infobar.h>
#include <widgets/std_bitmap_button.h>
#include <eda_3d_viewer_settings.h>
#include <board_design_settings.h>
#include <3d_navlib/nl_footprint_properties_plugin.h>
Go to the source code of this file.
Functions | |
static double | rotationFromString (const wxString &aValue) |
Ensure -MAX_ROTATION <= rotation <= MAX_ROTATION. | |
|
static |
Ensure -MAX_ROTATION <= rotation <= MAX_ROTATION.
a aRotation will be normalized between -MAX_ROTATION and MAX_ROTATION.
Definition at line 239 of file panel_preview_3d_model.cpp.
References DEGREES, EDA_UNIT_UTILS::UI::DoubleValueFromString(), KiROUND(), MAX_ROTATION, and unityScale.
Referenced by PANEL_PREVIEW_3D_MODEL::updateOrientation().