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

Function calcNormalMatrix

src/cinder/gl/wrapper.cpp:546–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546mat3 calcNormalMatrix()
547{
548 return glm::inverseTranspose( glm::mat3( getModelView() ) );
549}
550
551mat3 calcModelMatrixInverseTranspose()
552{

Callers 1

setDefaultShaderVarsMethod · 0.85

Calls 1

getModelViewFunction · 0.85

Tested by

no test coverage detected