mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step
This commit is contained in:
parent
077680b806
commit
86da661097
60 changed files with 1228 additions and 1206 deletions
|
@ -24,9 +24,9 @@ void CoolingBuffer::reset()
|
|||
{
|
||||
m_current_pos.assign(5, 0.f);
|
||||
Pointf3 pos = m_gcodegen.writer().get_position();
|
||||
m_current_pos[0] = float(pos.x);
|
||||
m_current_pos[1] = float(pos.y);
|
||||
m_current_pos[2] = float(pos.z);
|
||||
m_current_pos[0] = float(pos.x());
|
||||
m_current_pos[1] = float(pos.y());
|
||||
m_current_pos[2] = float(pos.z());
|
||||
m_current_pos[4] = float(m_gcodegen.config().travel_speed.value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue