Searched refs:mpCamera (Results 1 – 2 of 2) sorted by relevance
17 if (mpCamera==0) in track()30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); in track()32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis))); in track()42 if ((p2.x() >= 0) && (p2.x() <= int(mpCamera->vpWidth())) && in mapToSphere()43 (p2.y() >= 0) && (p2.y() <= int(mpCamera->vpHeight())) ) in mapToSphere()45 double x = (double)(p2.x() - 0.5*mpCamera->vpWidth()) / (double)mpCamera->vpWidth(); in mapToSphere()46 double y = (double)(0.5*mpCamera->vpHeight() - p2.y()) / (double)mpCamera->vpHeight(); in mapToSphere()
23 Trackball() : mpCamera(0) {} in Trackball()27 void setCamera(Camera* pCam) { mpCamera = pCam; } in setCamera()35 Camera* mpCamera; variable