mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
WIP: Improved support for parallel projection. #168
Near plane negative to show everything ZoomAlongRay now works for parallel projection (only implemented in ceetron Plus)
This commit is contained in:
committed by
Jacob Støren
parent
23bfb46c4c
commit
5cdf307d4e
@@ -77,7 +77,10 @@ protected:
|
||||
bool m_isNavigating;
|
||||
bool m_hasMovedMouseDuringNavigation;
|
||||
|
||||
void cvfEventPos(int qtX, int qtY, int* x, int* y);
|
||||
|
||||
// Zooming towards cursor
|
||||
cvf::ref<cvf::Ray> createZoomRay(int cvfXPos, int cvfYPos);
|
||||
void zoomAlongRay( cvf::Ray* ray, int delta );
|
||||
bool m_isZooming;
|
||||
cvf::ref<cvf::Ray> m_zoomRay;
|
||||
|
||||
Reference in New Issue
Block a user