mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Added imgui debug dialog for camera statistics
This commit is contained in:
parent
c5e4ada75b
commit
783a527109
4 changed files with 36 additions and 1 deletions
|
@ -64,6 +64,10 @@ public:
|
|||
void apply_view_matrix() const;
|
||||
void apply_projection(const BoundingBoxf3& box) const;
|
||||
|
||||
#if ENABLE_CAMERA_STATISTICS
|
||||
void debug_render() const;
|
||||
#endif // ENABLE_CAMERA_STATISTICS
|
||||
|
||||
private:
|
||||
void apply_ortho_projection(double x_min, double x_max, double y_min, double y_max, double z_min, double z_max) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue