kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26066
Re: [PATCH 2/2] Pixel perfect panning for the 3D viewer
Merged. Thank you!
(For reference, I asked on IRC about patch 1/2, was just a mistake,
there isn't one)
On Tue, Sep 06, 2016 at 06:43:15PM -0500, José Ignacio Romero wrote:
>
> Use the correct math to unproject the mouse movement from screen space
> to the Z=0 plane on the camera space. This handles both perspective
> and orthographic projection at any window size or zoom level.
> ---
> 3d-viewer/3d_rendering/ctrack_ball.cpp | 22 ++++++++++++++--------
> 1 file changed, 14 insertions(+), 8 deletions(-)
>
References