MCPcopy Create free account
hub / github.com/arrayfire/forge / getViewMatrix

Method getViewMatrix

src/backend/opengl/sdl/window.cpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360const glm::mat4 Widget::getViewMatrix(const CellIndex& pIndex)
361{
362 if (mViewMatrices.find(pIndex)==mViewMatrices.end()) {
363 mViewMatrices.emplace(pIndex, IDENTITY);
364 }
365 return mViewMatrices[pIndex];
366}
367
368const glm::mat4 Widget::getOrientationMatrix(const CellIndex& pIndex)
369{

Callers 1

drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected