mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Added support for distance between camera position and camera target
This commit is contained in:
parent
26d48b7f52
commit
f0b228c4d2
2 changed files with 15 additions and 5 deletions
|
@ -9,6 +9,8 @@ namespace GUI {
|
|||
|
||||
struct Camera
|
||||
{
|
||||
static const float DefaultDistance;
|
||||
|
||||
enum EType : unsigned char
|
||||
{
|
||||
Unknown,
|
||||
|
@ -20,7 +22,8 @@ struct Camera
|
|||
EType type;
|
||||
float zoom;
|
||||
float phi;
|
||||
// float distance;
|
||||
// Distance between camera position and camera target measured along the camera Z axis
|
||||
float distance;
|
||||
bool requires_zoom_to_bed;
|
||||
bool inverted_phi;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue