mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-03 01:39:11 -07:00
Added support for distance between camera position and camera target
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user