MCPcopy Create free account
hub / github.com/OGRECave/ogre / getViewMatrix

Method getViewMatrix

OgreMain/src/OgreAutoParamDataSource.cpp:389–403  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

387 }
388 //-----------------------------------------------------------------------------
389 Affine3 AutoParamDataSource::getViewMatrix(const Camera* cam) const
390 {
391 Affine3 view;
392 if (mCurrentRenderable && mCurrentRenderable->getUseIdentityView())
393 view = Affine3::IDENTITY;
394 else
395 {
396 view = cam->getViewMatrix(true);
397 if (mCameraRelativeRendering)
398 {
399 view.setTrans(Vector3::ZERO);
400 }
401 }
402 return view;
403 }
404 const Affine3& AutoParamDataSource::getViewMatrix(void) const
405 {
406 if (mViewMatrixDirty)

Callers 15

sceneToScreenMethod · 0.80
mergeMethod · 0.80
getShadowCameraMethod · 0.80
_updateAutoParamsMethod · 0.80
calculateLiSPSMMethod · 0.80
calculateNOptMethod · 0.80
calculateNOptSimpleMethod · 0.80
getShadowCameraMethod · 0.80
OgreCamera.cppFile · 0.80

Calls 1

setTransMethod · 0.80

Tested by

no test coverage detected