mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-09-01 06:21:48 -06:00
Eradicated most of Pointf extras compared to pure Eigen::Vector2d.
This commit is contained in:
parent
cb138a20b8
commit
cae0806112
21 changed files with 68 additions and 103 deletions
|
@ -14,8 +14,8 @@ class Bed_2D : public wxPanel
|
|||
bool m_painted = false;
|
||||
bool m_interactive = false;
|
||||
double m_scale_factor;
|
||||
Pointf m_shift;
|
||||
Pointf m_pos;
|
||||
Pointf m_shift = Vec2d::Zero();
|
||||
Pointf m_pos = Vec2d::Zero();
|
||||
std::function<void(Pointf)> m_on_move = nullptr;
|
||||
|
||||
Point to_pixels(Pointf point);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue