MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / getCameraPoint

Method getCameraPoint

source/MRViewer/MRViewportCamera.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46Vector3f Viewport::getCameraPoint() const
47{
48 AffineXf3f xfInv = AffineXf3f( viewM_ ).inverse();
49 return xfInv.b;
50}
51
52void Viewport::setCameraPoint( const Vector3f& cameraWorldPos )
53{

Callers 9

getCamera_Method · 0.80
autofit_Method · 0.80
findIncidentFacesFunction · 0.80
onMouseMove_Method · 0.80
updateGridXfs_Method · 0.80
onTouchMove_Method · 0.80
onMouseDown_Method · 0.80
onMouseMove_Method · 0.80

Calls 1

inverseMethod · 0.45

Tested by

no test coverage detected