MCPcopy Create free account
hub / github.com/ImageEngine/cortex / setModelViewMatrix

Method setModelViewMatrix

src/IECoreGL/Camera.cpp:175–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void Camera::setModelViewMatrix() const
176{
177 M44f inverseMatrix = m_transform.inverse();
178 glMatrixMode( GL_MODELVIEW );
179 glLoadIdentity();
180 glMultMatrixf( inverseMatrix.getValue() );
181}

Callers

nothing calls this directly

Calls 2

inverseMethod · 0.80
getValueMethod · 0.45

Tested by

no test coverage detected