Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
546
mat3 calcNormalMatrix()
547
{
548
return glm::inverseTranspose( glm::mat3( getModelView() ) );
549
}
550
551
mat3 calcModelMatrixInverseTranspose()
552
{
Callers
1
setDefaultShaderVars
Method · 0.85
Calls
1
getModelView
Function · 0.85
Tested by
no test coverage detected