Home
last modified time | relevance | path

Searched refs:vpWidth (Results 1 – 4 of 4) sorted by relevance

/external/eigen/demos/opengl/
Dtrackball.cpp42 if ((p2.x() >= 0) && (p2.x() <= int(mpCamera->vpWidth())) && in mapToSphere()
45 double x = (double)(p2.x() - 0.5*mpCamera->vpWidth()) / (double)mpCamera->vpWidth(); in mapToSphere()
Dcamera.h54 inline uint vpWidth(void) const { return mVpWidth; } in vpWidth() function
Dcamera.cpp240 glViewport(vpX(), vpY(), vpWidth(), vpHeight()); in activateGL()
Dquaternion_demo.cpp406 float dx = float(e->x() - mMouseCoords.x()) / float(mCamera.vpWidth()); in mouseMoveEvent()