Create emboss object on cursor position
This commit is contained in:
parent
ed818f9177
commit
53ee0092b0
10 changed files with 212 additions and 87 deletions
src/slic3r/GUI
|
@ -181,7 +181,7 @@ Vec3f MeshRaycaster::get_triangle_normal(size_t facet_idx) const
|
|||
}
|
||||
|
||||
void MeshRaycaster::line_from_mouse_pos(const Vec2d& mouse_pos, const Transform3d& trafo, const Camera& camera,
|
||||
Vec3d& point, Vec3d& direction) const
|
||||
Vec3d& point, Vec3d& direction)
|
||||
{
|
||||
Matrix4d modelview = camera.get_view_matrix().matrix();
|
||||
Matrix4d projection= camera.get_projection_matrix().matrix();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue