Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cocos/cocos-engine
/ getInversed
Method
getInversed
native/cocos/math/Mat4.cpp:758–762 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
756
}
757
758
Mat4 Mat4::getInversed() const {
759
Mat4 mat(*this);
760
mat.inverse();
761
return mat;
762
}
763
764
bool Mat4::inverse() {
765
float a0 = m[0] * m[5] - m[1] * m[4];
Callers
15
update
Method · 0.45
updateLightDescriptorSet
Method · 0.45
updateShadowUBOLightView
Method · 0.45
createMatrix
Method · 0.45
updateFixedArea
Method · 0.45
setShadowUBOLightView
Function · 0.45
computeShadowMatrices
Function · 0.45
Skeleton.cpp
File · 0.45
rayModel
Function · 0.45
transform
Method · 0.45
setWorldScale
Method · 0.45
onSetParent
Method · 0.45
Calls
1
inverse
Method · 0.45
Tested by
3
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36