Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ GLToCGAffine
Function
GLToCGAffine
core/math/TransformUtils.cpp:51–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
}
50
51
void GLToCGAffine(const float* m, AffineTransform* t)
52
{
53
t->a = m[0];
54
t->c = m[4];
55
t->tx = m[12];
56
t->b = m[1];
57
t->d = m[5];
58
t->ty = m[13];
59
}
60
61
} // namespace cocos2d
Callers
2
getNodeToParentAffineTransform
Method · 0.85
getParentToNodeAffineTransform
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected