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

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

Completed in 194 milliseconds