Searched refs:pt_proj (Results 1 - 1 of 1) sorted by relevance
/inkscape/src/ |
H A D | box3d.cpp | 362 box3d_snap (SPBox3D *box, int id, Proj::Pt3 const &pt_proj, Proj::Pt3 const &start_pt) { argument 380 Geom::Point pt = persp_impl->tmat.image(pt_proj).affine(); 459 Proj::Pt3 pt_proj (persp_impl->tmat.preimage (new_pos, (id < 4) ? box->orig_corner0[Proj::Z] : 462 pt_proj = box3d_snap (box, id, pt_proj, box3d_get_proj_corner (id, box->save_corner0, box->save_corner7)); 465 // normalizing pt_proj is essential because we want to mingle affine coordinates 466 pt_proj.normalize(); 467 box->orig_corner0 = Proj::Pt3 ((id & Box3D::X) ? box->save_corner0[Proj::X] : pt_proj[Proj::X], 468 (id & Box3D::Y) ? box->save_corner0[Proj::Y] : pt_proj[Proj::Y], 471 box->orig_corner7 = Proj::Pt3 ((id & Box3D::X) ? pt_proj[Pro [all...] |
Completed in 2077 milliseconds