MCPcopy Create free account
hub / github.com/cinder/Cinder / setModelMatrix

Function setModelMatrix

src/cinder/gl/wrapper.cpp:409–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407}
408
409void setModelMatrix( const ci::mat4 &m )
410{
411 auto ctx = context();
412 ctx->getModelMatrixStack().back() = m;
413}
414
415void setViewMatrix( const ci::mat4 &m )
416{

Callers 4

renderSceneToFboMethod · 0.85
drawMethod · 0.85
drawMethod · 0.85
ScopedModelMatrixFunction · 0.85

Calls 2

backMethod · 0.80
contextFunction · 0.70

Tested by 2

drawMethod · 0.68
drawMethod · 0.68