MCPcopy 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
758Mat4 Mat4::getInversed() const {
759 Mat4 mat(*this);
760 mat.inverse();
761 return mat;
762}
763
764bool Mat4::inverse() {
765 float a0 = m[0] * m[5] - m[1] * m[4];

Callers 15

updateMethod · 0.45
createMatrixMethod · 0.45
updateFixedAreaMethod · 0.45
setShadowUBOLightViewFunction · 0.45
computeShadowMatricesFunction · 0.45
Skeleton.cppFile · 0.45
rayModelFunction · 0.45
transformMethod · 0.45
setWorldScaleMethod · 0.45
onSetParentMethod · 0.45

Calls 1

inverseMethod · 0.45

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36