mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 04:08:02 -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
|
@ -207,8 +207,8 @@ bool load_prus(const char *path, Model *model)
|
|||
for (size_t c = 0; c < 3; ++ c)
|
||||
trafo[r][c] += mat_trafo(r, c);
|
||||
}
|
||||
instance_offset.x = position[0] - zero[0];
|
||||
instance_offset.y = position[1] - zero[1];
|
||||
instance_offset.x() = position[0] - zero[0];
|
||||
instance_offset.y() = position[1] - zero[1];
|
||||
trafo[2][3] = position[2] / instance_scaling_factor;
|
||||
trafo_set = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue